- For the IPv6 problem description see also: https://bugzilla.quagga.net/show_bug.cgi?id=870 https://lists.quagga.net/pipermail/quagga-dev/2017-December/033309.html - Another part of the multi-segment AS_PATH UPDATE message length calculation fix PR: 214481 Reported by: dgilbert@eicat.ca
13 lines
464 B
C
13 lines
464 B
C
--- bgpd/bgp_nht.c.orig 2017-10-03 16:57:10.000000000 +0200
|
|
+++ bgpd/bgp_nht.c 2017-12-15 21:12:37.058505000 +0100
|
|
@@ -409,8 +409,8 @@
|
|
break;
|
|
#ifdef HAVE_IPV6
|
|
case AFI_IP6:
|
|
- if (ri->attr->extra->mp_nexthop_len != 16
|
|
- || IN6_IS_ADDR_LINKLOCAL (&ri->attr->extra->mp_nexthop_global))
|
|
+ if (ri->attr->extra->mp_nexthop_len == 16
|
|
+ && IN6_IS_ADDR_LINKLOCAL (&ri->attr->extra->mp_nexthop_global))
|
|
return -1;
|
|
|
|
p->family = AF_INET6;
|