]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_pbr.c
zebra: PBR config and monitor IPSET/IPTABLE hooks declared
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 4 May 2018 11:57:31 +0000 (13:57 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 25 May 2018 13:49:38 +0000 (15:49 +0200)
commit73a829f709dcdac1a414be43216d7dbce8d0e428
tree3d2166e3b7d6f8e74704e61d32c5ecea66cd1e82
parent8cda910629ed994a8ba0f6094427162ef8ffa98a
zebra: PBR config and monitor IPSET/IPTABLE hooks declared

The following PBR handlers: ipset, and iptables will prioritary
call the hook from a possible plugin.
If a plugin is attached, then it will return a positive value.
That is why the return status is tested against 0 value, since that
means that there are no plugin module plugged

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_pbr.c
zebra/zebra_pbr.h