summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-10 17:28:26 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-10 17:28:26 -0800
commit8916a90af5ba3322bf7aa339919cdf3ac151dced (patch)
tree4ba627be4c5b9a603297441bf0b6deb0fdbb3250 /lib/Vyatta
parent586f847fd9c6fb94fd794029e90351b4ff6f7e05 (diff)
downloadvyatta-cfg-firewall-8916a90af5ba3322bf7aa339919cdf3ac151dced.tar.gz
vyatta-cfg-firewall-8916a90af5ba3322bf7aa339919cdf3ac151dced.zip
Add space in front of match rule just in case other match rules don't.
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-xlib/Vyatta/IpTables/IpSet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/IpTables/IpSet.pm b/lib/Vyatta/IpTables/IpSet.pm
index f6452d9..0cfe215 100755
--- a/lib/Vyatta/IpTables/IpSet.pm
+++ b/lib/Vyatta/IpTables/IpSet.pm
@@ -250,7 +250,7 @@ sub rule {
$srcdst = 'dst' if $direction eq 'destination';
return (undef, "Invalid direction [$direction]") if ! defined $srcdst;
- return ("-m set --set $grp $srcdst ", );
+ return (" -m set --set $grp $srcdst ", );
}
1;