mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-08 18:57:07 +02:00
Correct merge compatibility change
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c2c2dc0b22
commit
a9583aaf3a
@ -1197,7 +1197,7 @@ sub compatible( $$ ) {
|
|||||||
#
|
#
|
||||||
# Don't combine chains where each specifies
|
# Don't combine chains where each specifies
|
||||||
# '-m policy'
|
# '-m policy'
|
||||||
# ( --dport or --sport or -m multiport )
|
# ( --multiport and ( --dport or --sport or -m multiport ) )
|
||||||
#
|
#
|
||||||
return ! ( $ref1->{policy} && $ref2->{policy} ||
|
return ! ( $ref1->{policy} && $ref2->{policy} ||
|
||||||
( ( $ref1->{multiport} && ( $ref2->{dport} || $ref2->{sport} || $ref2->{multiport} ) ) ||
|
( ( $ref1->{multiport} && ( $ref2->{dport} || $ref2->{sport} || $ref2->{multiport} ) ) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user