From e2d2182b9e90f3492a91f92230f2cfcc094a41bd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 17 Dec 2007 08:16:48 +0000 Subject: [PATCH] dont escape target/chain names git-svn-id: svn+ssh://foo-projects.org/var/svn/ferm/trunk@1031 887c3e53-ddf1-0310-8e39-e0d3fab4ed34 --- src/ferm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ferm b/src/ferm index 3e094c8..dbd963e 100755 --- a/src/ferm +++ b/src/ferm @@ -1303,12 +1303,12 @@ sub tables($) { if ($action->{type} eq 'jump') { $table_info->{chains}{$action->{chain}}{rules} ||= []; - $rr .= " -j " . shell_escape($action->{chain}); + $rr .= " -j " . $action->{chain}; } elsif ($action->{type} eq 'goto') { $table_info->{chains}{$action->{chain}}{rules} ||= []; - $rr .= " -g " . shell_escape($action->{chain}); + $rr .= " -g " . $action->{chain}; } elsif ($action->{type} eq 'target') { - $rr .= " -j " . shell_escape($action->{target}); + $rr .= " -j " . $action->{target}; # targets stored in %target_defs -- 2.11.4.GIT