forked from Mirror/frr
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:
parent
2ade1c0059
commit
62bf6b4200
|
@ -2687,6 +2687,11 @@ static void bgp_encode_pbr_rule_action(struct stream *s,
|
||||||
else
|
else
|
||||||
stream_putl(s, pbra->fwmark); /* fwmark */
|
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);
|
stream_putl(s, pbra->table_id);
|
||||||
|
|
||||||
memset(ifname, 0, sizeof(ifname));
|
memset(ifname, 0, sizeof(ifname));
|
||||||
|
|
Loading…
Reference in a new issue