diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-12 09:09:09 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-12 09:09:09 +0100 |
commit | 56febd155792b579d88281940acc97f95a10a712 (patch) | |
tree | 69c9ece4d60db7d5532dc9aa631c9addc2422fbc /data/templates/frr/policy.frr.tmpl | |
parent | 1e17d1d45a0952bab53af46d6c4dfe15ebb1110e (diff) | |
parent | 7549c847c3df9155c4315efcccfaf798af9fb402 (diff) | |
download | vyos-1x-56febd155792b579d88281940acc97f95a10a712.tar.gz vyos-1x-56febd155792b579d88281940acc97f95a10a712.zip |
Merge branch 'T2493-nexthop-unchanged' of https://github.com/plett/vyos-1x into current
* 'T2493-nexthop-unchanged' of https://github.com/plett/vyos-1x:
policy: T2493 ip-next-hop unchanged & peer-address
Diffstat (limited to 'data/templates/frr/policy.frr.tmpl')
-rw-r--r-- | data/templates/frr/policy.frr.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/policy.frr.tmpl b/data/templates/frr/policy.frr.tmpl index d3d3957a5..97eb15331 100644 --- a/data/templates/frr/policy.frr.tmpl +++ b/data/templates/frr/policy.frr.tmpl @@ -276,6 +276,9 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }} {% if rule_config.set.ipv6_next_hop is defined and rule_config.set.ipv6_next_hop.local is defined and rule_config.set.ipv6_next_hop.local is not none %} set ipv6 next-hop local {{ rule_config.set.ipv6_next_hop.local }} {% endif %} +{% if rule_config.set.ipv6_next_hop is defined and rule_config.set.ipv6_next_hop.peer_address is defined %} + set ipv6 next-hop peer-address +{% endif %} {% if rule_config.set.ipv6_next_hop is defined and rule_config.set.ipv6_next_hop.prefer_global is defined %} set ipv6 next-hop prefer-global {% endif %} |