diff options
Diffstat (limited to 'lib/northbound_confd.c')
| -rw-r--r-- | lib/northbound_confd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/northbound_confd.c b/lib/northbound_confd.c index 9d01541205..3579d1da00 100644 --- a/lib/northbound_confd.c +++ b/lib/northbound_confd.c @@ -1036,9 +1036,11 @@ static int frr_confd_dp_read(struct thread *thread) ret = confd_fd_ready(dctx, fd); if (ret == CONFD_EOF) { flog_err_confd("confd_fd_ready"); + frr_confd_finish(); return -1; } else if (ret == CONFD_ERR && confd_errno != CONFD_ERR_EXTERNAL) { flog_err_confd("confd_fd_ready"); + frr_confd_finish(); return -1; } |
