diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-10 17:28:26 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-10 17:28:26 -0800 |
commit | 8916a90af5ba3322bf7aa339919cdf3ac151dced (patch) | |
tree | 4ba627be4c5b9a603297441bf0b6deb0fdbb3250 /lib/Vyatta/IpTables/IpSet.pm | |
parent | 586f847fd9c6fb94fd794029e90351b4ff6f7e05 (diff) | |
download | vyatta-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/IpTables/IpSet.pm')
-rwxr-xr-x | lib/Vyatta/IpTables/IpSet.pm | 2 |
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; |