summaryrefslogtreecommitdiff
path: root/zebra/zebra_ptm_redistribute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-17 16:01:59 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-17 16:01:59 -0400
commit72c54143bbfca2d16b702900d321ef8ea26ba2c0 (patch)
treefaf960de6b1a9182f6698266abea849e381e4c4d /zebra/zebra_ptm_redistribute.c
parent09c04bc49098f513ceaba6323f5c2921212b8e03 (diff)
zebra: Add missing c-bit uint8_t
Add to the ZEBRA_INTERFACE_BFD_DEST_UPDATE code path in zebra_ptm_redistribute.c the missing c-bit data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm_redistribute.c')
-rw-r--r--zebra/zebra_ptm_redistribute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_ptm_redistribute.c b/zebra/zebra_ptm_redistribute.c
index 01d5114b9f..eabc2e005e 100644
--- a/zebra/zebra_ptm_redistribute.c
+++ b/zebra/zebra_ptm_redistribute.c
@@ -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));