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

Dietmar Maurer dietmar at proxmox.com
Thu Apr 17 07:43:05 CEST 2014


applied, thanks!

> 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