From 0ed813972b6301f253b95770a295d113abc0a227 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 23 Oct 2016 16:44:07 -0700 Subject: [PATCH] Auto-create ipsets used in tcfilters Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 8737f82da..e8098ba55 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1308,6 +1308,8 @@ sub handle_ematch( $$ ) { $setname =~ s/\+//; + add_ipset($setname); + return "ipset\\($setname $options\\)"; }