summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-11-18 14:30:47 +0100
committerGitHub <noreply@github.com>2020-11-18 14:30:47 +0100
commit926bc58f782588c8f3adc14ad3137027ab6e7bef (patch)
tree00978760528c67d9faf867544fc787be9b0449b3 /isisd
parentMerge pull request #7549 from vincentbernat/fix/oot-build (diff)
parent*: Convert all usage of zclient_send_message to new enum (diff)
downloadfrr-926bc58f782588c8f3adc14ad3137027ab6e7bef.tar.xz
frr-926bc58f782588c8f3adc14ad3137027ab6e7bef.zip
Merge pull request #7478 from donaldsharp/buffer
Buffer
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_zebra.c2
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);