mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 11:44:16 +00:00
bgpd: Pass a connection struct directly for EVENT_OFF()
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
1fddc91dc6
commit
45f80de734
@ -1482,7 +1482,7 @@ enum bgp_fsm_state_progress bgp_stop(struct peer_connection *connection)
|
|||||||
EVENT_OFF(connection->t_connect);
|
EVENT_OFF(connection->t_connect);
|
||||||
EVENT_OFF(connection->t_holdtime);
|
EVENT_OFF(connection->t_holdtime);
|
||||||
EVENT_OFF(connection->t_routeadv);
|
EVENT_OFF(connection->t_routeadv);
|
||||||
EVENT_OFF(peer->connection->t_delayopen);
|
EVENT_OFF(connection->t_delayopen);
|
||||||
|
|
||||||
/* Clear input and output buffer. */
|
/* Clear input and output buffer. */
|
||||||
frr_with_mutex (&connection->io_mtx) {
|
frr_with_mutex (&connection->io_mtx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user