diff options
author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2021-07-27 22:09:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 22:09:29 +0200 |
commit | 213d980ff904a30565e1b5fcabafabe49143d35c (patch) | |
tree | 4cb4bca4547575138df357487c701c3e6e3a37b3 /bgpd/bgp_zebra.c | |
parent | Merge pull request #9187 from mobash-rasool/pim-upst-2 (diff) | |
parent | doc: Add documentation for `match ip-protocol [udp|tcp]` (diff) | |
download | frr-213d980ff904a30565e1b5fcabafabe49143d35c.tar.xz frr-213d980ff904a30565e1b5fcabafabe49143d35c.zip |
Merge pull request #9007 from donaldsharp/pbr_stuff
add ability to match on proto to pbr
Diffstat (limited to 'bgpd/bgp_zebra.c')
-rw-r--r-- | bgpd/bgp_zebra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 2c7c08785..24652ee93 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -2576,6 +2576,7 @@ static void bgp_encode_pbr_rule_action(struct stream *s, stream_putl(s, pbr->unique); else stream_putl(s, pbra->unique); + stream_putc(s, 0); /* ip protocol being used */ if (pbr && pbr->flags & MATCH_IP_SRC_SET) memcpy(&pfx, &(pbr->src), sizeof(struct prefix)); else { |