Permalink
Browse files

net/frr: fix bgp v6, add activate to config (#621)

  • Loading branch information...
mimugmail authored and fichtner committed Mar 22, 2018
1 parent 31b92b7 commit 699f1f28a33ce0122fa0e2f5e6e1f48eb3c4f074
Showing with 8 additions and 0 deletions.
  1. +8 −0 net/frr/src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf
@@ -84,6 +84,13 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
{% endif %}
{% endfor %}
{% endif %}
{% if helpers.exists('OPNsense.quagga.bgp.neighbors.neighbor') %}
{% for neighbor in helpers.toList('OPNsense.quagga.bgp.neighbors.neighbor') %}
{% if neighbor.enabled == '1' and ':' in neighbor.address %}
no neighbor {{ neighbor.address }} activate
{% endif %}
{% endfor %}
{% endif %}
exit-address-family
!
address-family ipv6 unicast
@@ -102,6 +109,7 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
{% if helpers.exists('OPNsense.quagga.bgp.neighbors.neighbor') %}
{% for neighbor in helpers.toList('OPNsense.quagga.bgp.neighbors.neighbor') %}
{% if neighbor.enabled == '1' and ':' in neighbor.address %}
neighbor {{ neighbor.address }} activate
{% if 'nexthopself' in neighbor and neighbor.nexthopself == '1' %}
neighbor {{ neighbor.address }} next-hop-self
{% endif %}

2 comments on commit 699f1f2

@fabianfrz

This comment has been minimized.

Copy link
Member

fabianfrz replied Mar 22, 2018

Should I bump the version?

@fichtner

This comment has been minimized.

Copy link
Member

fichtner replied Mar 22, 2018

no need

Please sign in to comment.