utils: add minimal nfnlog test case
Florian Westphal
maintainerPATCH 1/1 utils: add minimal nfnlog test case
Check that nfulnl_test receives 4 log messages each for ping/ping6 packets.
Signed-off-by Florian Westphal <[email protected]>
---
Seems I forgot to send it, I have carried this locally for more than a month :-/
utils/nfulnl_test.c | 1 + utils/nfulnl_test.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100755 utils/nfulnl_test.sh
utils/nfulnl_test.c +1 -0
@@ -121,6 +121,7 @@ int main(int argc, char **argv)/* handle messages in just-received packet */ nflog_handle_packet (h, buf, rv); +fflush (stdout); }printf ("unbinding from group 100\n" );
utils/nfulnl_test.sh new file +58 -0
58 lines not on this page · raw message
Signature · 1 line
2.54.0