diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-11-19 14:54:06 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-11-19 14:54:06 -0500 |
| commit | f5115307888dc8ca4b6369d1b705686d3c689d23 (patch) | |
| tree | 6dfec8f2aaf979460249e668c71fc17a6f2f3908 /bfdd | |
| parent | 172a2aa533a6fee4582951800105bff4dd6b3592 (diff) | |
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>
Diffstat (limited to 'bfdd')
| -rw-r--r-- | bfdd/dplane.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfdd/dplane.c b/bfdd/dplane.c index 7f55f34073..b1a32fb150 100644 --- a/bfdd/dplane.c +++ b/bfdd/dplane.c @@ -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); |
