]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra, lib: remove notify field from hello message
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 23 Nov 2023 14:08:32 +0000 (15:08 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 23 Nov 2023 14:20:11 +0000 (15:20 +0100)
This is no longer used.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/zclient.c
zebra/zapi_msg.c

index 47ce111b3338e666eb96e28c804160b782cf6518..39756933e7a8ba9b36dc594ab05074ef2d476077 100644 (file)
@@ -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
index 390ebc8f4c938f4a4fe6796c0153c44c2828bdc1..679023fd84a3e663372a13d135238c07df093280 100644 (file)
@@ -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;