Make 'nosmurfs' work correctly on IPv6 with Address Type Match

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-02-08 07:12:58 -08:00
parent 6239218db5
commit b45a70f98a

View File

@ -478,7 +478,7 @@ sub add_common_rules() {
if ( $family == F_IPV4 ) {
add_rule $chainref , '-s 0.0.0.0 -j RETURN';
} else {
add_rule $chainref , '-s ::' -j RETURN';
add_rule $chainref , '-s :: -j RETURN';
}
add_jump( $chainref, $smurfdest, 1, '-m addrtype --src-type BROADCAST ' ) ;