diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-09-16 20:14:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 20:14:43 +0200 |
commit | 68a8bd50d415e6f44b810a3ad21d646c7fb10da4 (patch) | |
tree | 6182a80a67575ce93954fcab2c5d88998e9a72d3 /bgpd | |
parent | Merge pull request #9489 from opensourcerouting/pim-restruct-20210825 (diff) | |
parent | bgpd: Allow v6 LL peers to work when connected to as well (diff) | |
download | frr-68a8bd50d415e6f44b810a3ad21d646c7fb10da4.tar.xz frr-68a8bd50d415e6f44b810a3ad21d646c7fb10da4.zip |
Merge pull request #9627 from donaldsharp/connect_interface_based_issue
bgpd: Allow v6 LL peers to work when connected to as well
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_network.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index f72f44f8a..09abb6996 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -46,6 +46,7 @@ #include "bgpd/bgp_errors.h" #include "bgpd/bgp_network.h" #include "bgpd/bgp_zebra.h" +#include "bgpd/bgp_nht.h" extern struct zebra_privs_t bgpd_privs; @@ -603,6 +604,12 @@ static int bgp_accept(struct thread *thread) BGP_EVENT_ADD(peer, TCP_connection_open); } + /* + * If we are doing nht for a peer that is v6 LL based + * massage the event system to make things happy + */ + bgp_nht_interface_events(peer); + return 0; } |