summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/zclient.c1
-rw-r--r--zebra/zapi_msg.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 47ce111b33..39756933e7 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -392,7 +392,6 @@ enum zclient_send_status zclient_send_hello(struct zclient *zclient)
stream_putc(s, zclient->redist_default);
stream_putw(s, zclient->instance);
stream_putl(s, zclient->session_id);
- stream_putc(s, 0); /* receive_notify - removed */
if (zclient->synchronous)
stream_putc(s, 1);
else
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 390ebc8f4c..679023fd84 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -2376,17 +2376,13 @@ static void zread_hello(ZAPI_HANDLER_ARGS)
/* type of protocol (lib/zebra.h) */
uint8_t proto;
unsigned short instance;
- uint8_t notify;
uint8_t synchronous;
uint32_t session_id;
STREAM_GETC(msg, proto);
STREAM_GETW(msg, instance);
STREAM_GETL(msg, session_id);
- STREAM_GETC(msg, notify);
STREAM_GETC(msg, synchronous);
- if (notify)
- client->notify_owner = true;
if (synchronous)
client->synchronous = true;