diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-08-27 04:08:19 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-09 22:28:05 +0200 |
commit | 981dd86920ec049174ea81f961896b94e4ae017f (patch) | |
tree | efc73edba876e48d3a4ffc6d106a830feb02f1a4 /bgpd/bgp_updgrp.c | |
parent | bgpd: move t_gr_restart and _stale into peer_connection (diff) | |
download | frr-981dd86920ec049174ea81f961896b94e4ae017f.tar.xz frr-981dd86920ec049174ea81f961896b94e4ae017f.zip |
bgpd: move t_generate_updgrp_packets into peer_connection
The t_generate_updgrp_packets event pointer belongs in the
peer_connection pointer.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_updgrp.c')
-rw-r--r-- | bgpd/bgp_updgrp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c index a55e48d8e..e9202e6a3 100644 --- a/bgpd/bgp_updgrp.c +++ b/bgpd/bgp_updgrp.c @@ -2201,10 +2201,11 @@ void subgroup_trigger_write(struct update_subgroup *subgrp) */ SUBGRP_FOREACH_PEER (subgrp, paf) if (peer_established(paf->peer)) - event_add_timer_msec( - bm->master, bgp_generate_updgrp_packets, - paf->peer, 0, - &paf->peer->t_generate_updgrp_packets); + event_add_timer_msec(bm->master, + bgp_generate_updgrp_packets, + paf->peer, 0, + &paf->peer->connection + ->t_generate_updgrp_packets); } int update_group_clear_update_dbg(struct update_group *updgrp, void *arg) |