[pve-devel] [PATCH] bugfix : ruleset_generate_cmdstr : use -d for destination

Alexandre Derumier aderumier at odiso.com
Thu Apr 17 06:42:50 CEST 2014


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 src/PVE/Firewall.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
index ecbbeaa..000455f 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -1225,7 +1225,7 @@ sub ruleset_generate_cmdstr {
 	    push @cmd, "-m iprange --dst-range $dest";
 
 	} else {
-	    push @cmd, "-s $dest";
+	    push @cmd, "-d $dest";
         }
     }
 
-- 
1.7.10.4




More information about the pve-devel mailing list