summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-08 22:44:11 +0100
committerGitHub <noreply@github.com>2022-02-08 22:44:11 +0100
commit9910020ae6ef37964c97bb28b6b1d84f8227650b (patch)
tree1a6ad5b48efddb50cc9f6ccc2048e332396504c9 /data/templates
parent08484df27aa030ef8ca878dc28a1a53d2143409e (diff)
parent20090e7df2cc74763e5917c3b97b2262fbd909fc (diff)
downloadvyos-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.j22
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 %}