forked from extern/shorewall_code
Make 'nosmurfs' work correctly on IPv6 with Address Type Match
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6239218db5
commit
b45a70f98a
@ -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 ' ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user