diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-08 22:44:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 22:44:11 +0100 |
commit | 9910020ae6ef37964c97bb28b6b1d84f8227650b (patch) | |
tree | 1a6ad5b48efddb50cc9f6ccc2048e332396504c9 /data/templates | |
parent | 08484df27aa030ef8ca878dc28a1a53d2143409e (diff) | |
parent | 20090e7df2cc74763e5917c3b97b2262fbd909fc (diff) | |
download | vyos-1x-9910020ae6ef37964c97bb28b6b1d84f8227650b.tar.gz vyos-1x-9910020ae6ef37964c97bb28b6b1d84f8227650b.zip |
Merge pull request #1208 from sever-sever/T3600
dhcp: T3600: Fix DHCP static table dhcp-interface route
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/static_routes_macro.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/static_routes_macro.j2 b/data/templates/frr/static_routes_macro.j2 index 3b432b49b..86c7470ca 100644 --- a/data/templates/frr/static_routes_macro.j2 +++ b/data/templates/frr/static_routes_macro.j2 @@ -5,7 +5,7 @@ {% if prefix_config.dhcp_interface is defined and prefix_config.dhcp_interface is not none %} {% set next_hop = prefix_config.dhcp_interface | get_dhcp_router %} {% if next_hop is defined and next_hop is not none %} -{{ ip_ipv6 }} route {{ prefix }} {{ next_hop }} {{ prefix_config.dhcp_interface }} +{{ ip_ipv6 }} route {{ prefix }} {{ next_hop }} {{ prefix_config.dhcp_interface }} {{ 'table ' + table if table is defined and table is not none }} {% endif %} {% endif %} {% if prefix_config.interface is defined and prefix_config.interface is not none %} |