mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-05 21:18:49 +01:00
Fix optional 'upnpclient' interfaces - take 2
This commit is contained in:
parent
fb015ff75a
commit
3a005c7c27
@ -671,7 +671,7 @@ sub add_common_rules() {
|
||||
|
||||
if ( interface_is_optional $interface ) {
|
||||
add_commands( $chainref,
|
||||
qq(if [ -n "\$${base}_IS_USABLE" -a -n "$variable" ]; then) ,
|
||||
qq(if [ -n "SW_\$${base}_IS_USABLE" -a -n "$variable" ]; then) ,
|
||||
' echo "-A ' . match_source_dev( $interface ) . qq(-s $variable -p udp -j ACCEPT" >&3) ,
|
||||
qq(fi) );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user