]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Do not send next-hop as :: in MP_REACH_NLRI if no link-local exists 5243/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 6 Sep 2019 09:12:23 +0000 (12:12 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 29 Oct 2019 13:41:27 +0000 (15:41 +0200)
commit33038f887d6594d00f390696b03fbaeaba8ffc98
tree90f088b0b9d15b684c23bb2293526901edeb6a36
parent514f508fc60e0573d9863beaad8924927d373954
bgpd: Do not send next-hop as :: in MP_REACH_NLRI if no link-local exists

This is the unusual case when you have global IPv6 address and no link-local
on interface attached. Like here:

eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
 link/ether 08:00:27:65:c6:82 brd ff:ff:ff:ff:ff:ff
 inet6 2a02:4780:face::1/64 scope global
    valid_lft forever preferred_lft forever

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_route.c