]> git.puffer.fish Git - mirror/frr.git/commit
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>
Thu, 31 May 2018 15:44:40 +0000 (17:44 +0200)
commit46410123f324e4124639be478dc34703f5354404
tree0eef4345737b8ca5b01aad66649bf9878c9de72c
parent2adee8a190525275e08782792eb9b015538892aa
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