Merge pull request #6020 from donaldsharp/cbit_bs

zebra: Add missing c-bit uint8_t
This commit is contained in:
Donatas Abraitis 2020-03-18 14:29:27 +02:00 committed by GitHub
commit ce1234aa0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ static int zsend_interface_bfd_update(int cmd, struct zserv *client,
stream_put(s, &sp->u.prefix, blen);
stream_putc(s, sp->prefixlen);
/* c-bit bullshit */
stream_putc(s, 0);
/* Write packet size. */
stream_putw_at(s, 0, stream_get_endp(s));