]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Do not send next-hop as :: in MP_REACH_NLRI if no link-local exists
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:42:33 +0000 (15:42 +0200)
commite359ac07ed0183dcb25d986cb7b80d259caab7cc
treed3b8190c0ac84e1ea59b1c0bd564ed7ea0ccb0cb
parenta90299b748b94d2dc89c0a38530807e43f012436
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