diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-28 13:04:26 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-10 08:31:25 -0400 | 
| commit | b2f25e1a17e601c687256715b50db109605c3a25 (patch) | |
| tree | bc3c1324de782e7258b55166b5d239f9d8591bd8 /bgpd/bgp_packet.h | |
| parent | b57e023cc2da413990c28c8495e23e0fd06e02dc (diff) | |
bgpd: First pass of BGP_EVENT_ADD
Pass through a bunch of BGP_EVENT_ADD's and make
the code use a proper connection instead of a
peer->connection.  There still are a bunch
of places where peer->connection is used and
later commits will probably go through and
clean these up more.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_packet.h')
| -rw-r--r-- | bgpd/bgp_packet.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.h b/bgpd/bgp_packet.h index 3ce04bd9d2..b67acf2055 100644 --- a/bgpd/bgp_packet.h +++ b/bgpd/bgp_packet.h @@ -37,7 +37,7 @@ DECLARE_HOOK(bgp_packet_send,  	do {                                                                   \  		_s = bgp_update_packet_eor(_peer, _afi, _safi);                \  		if (_s) {                                                      \ -			bgp_packet_add(_peer, _s);                             \ +			bgp_packet_add(_peer->connection, _peer, _s);          \  		}                                                              \  	} while (0)  | 
