bgpd: Fixup pbr rule changes that were missed

In commit: d70a31a3ef

the Zapi ZEBRA_RULE_ADD message was modified but
the bgp version was not updated appropriately and
when zebra received the message it did not properly
read it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-07-22 14:49:06 -04:00
parent 2ade1c0059
commit 62bf6b4200

View file

@ -2687,6 +2687,11 @@ static void bgp_encode_pbr_rule_action(struct stream *s,
else
stream_putl(s, pbra->fwmark); /* fwmark */
stream_putl(s, 0); /* queue id */
stream_putw(s, 0); /* vlan_id */
stream_putw(s, 0); /* vlan_flags */
stream_putw(s, 0); /* pcp */
stream_putl(s, pbra->table_id);
memset(ifname, 0, sizeof(ifname));