summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_packet.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-06-11 20:36:42 +0200
committervivek <vivek@cumulusnetworks.com>2016-06-11 20:36:42 +0200
commit6407da5a2484df72169e31339a53b2b3ef62f35f (patch)
treeb86f8fe6545aea24bbf5848345e132d4e1f40aa1 /bgpd/bgp_packet.c
parentredhat: Cleanup some unneeded parameters (diff)
downloadfrr-6407da5a2484df72169e31339a53b2b3ef62f35f.tar.xz
frr-6407da5a2484df72169e31339a53b2b3ef62f35f.zip
bgpd: Fixes and updates for VPNv6
VPNv6 changes picked from upstream needed fixes and updates due to some fundamental changes implemented by Cumulus (BGP update-groups, RFC 5549 and nexthop setting etc.) which aren't present upstream. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Updates: 945c8fe, 8ecd326, bb86c60, 93b73df, f4c8985
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r--bgpd/bgp_packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
index 02f5e82d4..3f69a9888 100644
--- a/bgpd/bgp_packet.c
+++ b/bgpd/bgp_packet.c
@@ -1167,7 +1167,8 @@ bgp_open_receive (struct peer *peer, bgp_size_t size)
}
}
if (peer->afc_nego[AFI_IP6][SAFI_UNICAST] ||
- peer->afc_nego[AFI_IP6][SAFI_MULTICAST])
+ peer->afc_nego[AFI_IP6][SAFI_MULTICAST] ||
+ peer->afc_nego[AFI_IP6][SAFI_MPLS_VPN])
{
if (IN6_IS_ADDR_UNSPECIFIED (&peer->nexthop.v6_global))
{