diff options
| author | Lou Berger <lberger@labn.net> | 2017-01-18 11:36:32 -0500 |
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2017-01-18 11:36:32 -0500 |
| commit | 7a4732c12b5e2dddba1c546fb02264db54581547 (patch) | |
| tree | c104292b9db2482f41a9eb9442c0582fd0d7b8e2 | |
| parent | 24d3752405ab849b47ae3866d590ddfd4e73d0de (diff) | |
bgpd: fix typo in VPN next hop V6 test (Issue #71)
On top of:
bgpd: allow VPN next hop to be different AFI than NLRI next
hop (Issue #71)
Signed-off-by: Lou Berger <lberger@labn.net>
| -rw-r--r-- | bgpd/bgp_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 023d1f8fdd..81516640bd 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -1437,7 +1437,7 @@ subgroup_announce_check (struct bgp_info *ri, struct update_subgroup *subgrp, #define NEXTHOP_IS_V6 (\ (safi != SAFI_ENCAP && safi != SAFI_MPLS_VPN &&\ (p->family == AF_INET6 || peer_cap_enhe(peer))) || \ - ((safi == SAFI_ENCAP || safi != SAFI_MPLS_VPN) &&\ + ((safi == SAFI_ENCAP || safi == SAFI_MPLS_VPN) &&\ attr->extra->mp_nexthop_len >= IPV6_MAX_BYTELEN)) /* IPv6/MP starts with 1 nexthop. The link-local address is passed only if |
