diff options
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index 8bc563399..b9958a669 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -618,7 +618,7 @@ int isis_zebra_label_manager_connect(void) set_nonblocking(zclient_sync->sock); /* Send hello to notify zebra this is a synchronous client */ - if (zclient_send_hello(zclient_sync) < 0) { + if (zclient_send_hello(zclient_sync) == ZCLIENT_SEND_FAILURE) { zlog_warn("%s: failed sending hello for synchronous zclient!", __func__); close(zclient_sync->sock); |