mirror of
https://gitlab.com/shorewall/code.git
synced 2025-04-29 21:54:35 +02:00
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 ) {
|
if ( $family == F_IPV4 ) {
|
||||||
add_rule $chainref , '-s 0.0.0.0 -j RETURN';
|
add_rule $chainref , '-s 0.0.0.0 -j RETURN';
|
||||||
} else {
|
} else {
|
||||||
add_rule $chainref , '-s ::' -j RETURN';
|
add_rule $chainref , '-s :: -j RETURN';
|
||||||
}
|
}
|
||||||
|
|
||||||
add_jump( $chainref, $smurfdest, 1, '-m addrtype --src-type BROADCAST ' ) ;
|
add_jump( $chainref, $smurfdest, 1, '-m addrtype --src-type BROADCAST ' ) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user