On 03/21/2013 10:24 AM, Eric Horst wrote:

> 
> I think this is a bug. I don't know when this broke but I've validated
> that it was working correctly in Shorewall6 4.4.25.2.
> 
> I've attached a shorewall6 trace check.

It's definitely a bug. Patch attached.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/IPAddrs.pm b/Shorewall/Perl/Shorewall/IPAddrs.pm
index 5be1796..73de45a 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;
 	}

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to