mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 06:43:08 +00:00
Merge pull request #9627 from donaldsharp/connect_interface_based_issue
bgpd: Allow v6 LL peers to work when connected to as well
This commit is contained in:
commit
68a8bd50d4
@ -46,6 +46,7 @@
|
|||||||
#include "bgpd/bgp_errors.h"
|
#include "bgpd/bgp_errors.h"
|
||||||
#include "bgpd/bgp_network.h"
|
#include "bgpd/bgp_network.h"
|
||||||
#include "bgpd/bgp_zebra.h"
|
#include "bgpd/bgp_zebra.h"
|
||||||
|
#include "bgpd/bgp_nht.h"
|
||||||
|
|
||||||
extern struct zebra_privs_t bgpd_privs;
|
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);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user