]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_map.h
pbrd: adjust/remove the rule correctly when dst and/or src removed
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 26 Mar 2018 19:16:09 +0000 (19:16 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 Apr 2018 17:22:43 +0000 (13:22 -0400)
commit49027ce8568ca773b0fc441e4abbf71d0d605c2c
treeff042cafbaa7c32454c178dfb410855f01419ff7
parenta1b7005bf472981df256f57f72bf16176727d021
pbrd: adjust/remove the rule correctly when dst and/or src removed

When the last match criteria was removed (dst-ip or src-ip), we were
not deleting the rule correctly for ipv6. This fix retains the
needed src-ip/dst-ip during the pbr_send_pbr_map process so the
appropriate information is available for the rule delete.

Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
pbrd/pbr_map.c
pbrd/pbr_map.h
pbrd/pbr_vty.c
pbrd/pbr_zebra.c
zebra/rule_netlink.c