]> git.puffer.fish Git - matthieu/frr.git/commit
BGP: For sessions based on interface/LL addr, use ifindex to identify peer
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:08 +0000 (18:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:08 +0000 (18:04 -0700)
commitf23453355c57caaf574e1b87c769568b4814ce86
tree57ec5fbf0ae5dceb8c9f37c63052f8aea918e94c
parentc5a5c4ffa08d486f82be0a6b354e7e759f43ee33
BGP: For sessions based on interface/LL addr, use ifindex to identify peer

sockunion_same() and bgp_peer_conf_if_to_su_update() need to use the scope_id
field of the ipv6 address to uniquify/identify the address.

This allows sessions based on link local address when that address is not
unique across peers.
bgpd/bgp_network.c
bgpd/bgp_vty.c
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h
bgpd/bgpd.c
lib/sockunion.c