From f5c43291bbb9263a582ba8d765987765a7aadcfe Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 25 Mar 2007 19:52:01 +0000 Subject: [PATCH] Tweak tos file processing git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5688 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- New/Shorewall/Rules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/New/Shorewall/Rules.pm b/New/Shorewall/Rules.pm index 7ae0dfd79..41bb162c4 100644 --- a/New/Shorewall/Rules.pm +++ b/New/Shorewall/Rules.pm @@ -88,10 +88,10 @@ sub process_tos() { $restriction = OUTPUT_RESTRICT; } else { $chainref = $pretosref; - $src =~ s/^all://; + $src =~ s/^all:?//; } - dst =~ s/^all://; + dst =~ s/^all:?//; expand_rule $chainref ,