]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-monitor: Fix for ebtables rule events
authorPhil Sutter <phil@nwl.cc>
Fri, 12 Jul 2024 12:01:45 +0000 (14:01 +0200)
committerPhil Sutter <phil@nwl.cc>
Sat, 27 Jul 2024 12:32:39 +0000 (14:32 +0200)
commit56217d37aa38938ec3e118ae761481522155ff21
tree425d69dbebc6abc246ed04dbc15e8b264399aa75
parent876a71bf7ad573dea998ca61a03fd35f2b04557b
xtables-monitor: Fix for ebtables rule events

Bridge family wasn't recognized in rule_cb(), so merely an empty
"EVENT:" line was printed for ebtables rule changes. For lack of a
well-known family modifier flag for bridge family, simply prefix rules
by "ebtables".

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/testcases/nft-only/0012-xtables-monitor_0
iptables/xtables-monitor.c