diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-11-23 15:08:32 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-11-23 15:20:11 +0100 |
| commit | a13d2933b755e159f78251d6a790eb153c6500fb (patch) | |
| tree | d286139aba2ecf0d66af68b63630265e360685d0 | |
| parent | 25a1dccc56a7e544a855bfeda5751c91b53a03fb (diff) | |
zebra, lib: remove notify field from hello message
This is no longer used.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| -rw-r--r-- | lib/zclient.c | 1 | ||||
| -rw-r--r-- | zebra/zapi_msg.c | 4 |
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; |
