forked from Mirror/frr
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
60982c4e48
commit
be09cbaf86
|
@ -948,6 +948,9 @@ static void bfd_dplane_client_connect(struct event *t)
|
|||
_bfd_dplane_client_bootstrap(bdc);
|
||||
}
|
||||
|
||||
/* Continue with the connection */
|
||||
return;
|
||||
|
||||
reschedule_connect:
|
||||
EVENT_OFF(bdc->inbufev);
|
||||
EVENT_OFF(bdc->outbufev);
|
||||
|
|
Loading…
Reference in a new issue