diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-09-16 21:14:43 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-16 21:14:43 +0300 |
| commit | 68a8bd50d415e6f44b810a3ad21d646c7fb10da4 (patch) | |
| tree | 6182a80a67575ce93954fcab2c5d88998e9a72d3 | |
| parent | 7e469b947605dcf3bd73f9a2541217aa29ee05b6 (diff) | |
| parent | dcd5ba55058fc42c592f6c40ad0815aa20f0cbbf (diff) | |
Merge pull request #9627 from donaldsharp/connect_interface_based_issue
bgpd: Allow v6 LL peers to work when connected to as well
| -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 f72f44f8a2..09abb69968 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; } |
