mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
bfdd: retain remote dplane client socket
When using bfd in remote-dataplane client mode, don't close
a new client socket if we're going to try to use it.
Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit f511530788
)
This commit is contained in:
parent
0994cb293e
commit
b71fd2f68f
|
@ -948,6 +948,9 @@ static void bfd_dplane_client_connect(struct event *t)
|
||||||
_bfd_dplane_client_bootstrap(bdc);
|
_bfd_dplane_client_bootstrap(bdc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Continue with the connection */
|
||||||
|
return;
|
||||||
|
|
||||||
reschedule_connect:
|
reschedule_connect:
|
||||||
EVENT_OFF(bdc->inbufev);
|
EVENT_OFF(bdc->inbufev);
|
||||||
EVENT_OFF(bdc->outbufev);
|
EVENT_OFF(bdc->outbufev);
|
||||||
|
|
Loading…
Reference in a new issue