diff --git a/Shorewall/Perl/Shorewall/IPAddrs.pm b/Shorewall/Perl/Shorewall/IPAddrs.pm index 5be1796ed..73de45ae5 100644 --- a/Shorewall/Perl/Shorewall/IPAddrs.pm +++ b/Shorewall/Perl/Shorewall/IPAddrs.pm @@ -690,7 +690,7 @@ sub validate_6net( $$ ) { assert( ! $allow_name ); ( $net , $vlsm ); } elsif ( valid_6address ( $net ) ) { - $vlsm == 32 ? $net : "$net/$vlsm"; + $vlsm == 128 ? $net : "$net/$vlsm"; } else { $net; }