mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 05:11:03 +01:00
Eliminate Shell syntax error when a provider and its interface have the same name.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a484cb848f
commit
5712438bcb
@ -1262,7 +1262,7 @@ EOF
|
|||||||
|
|
||||||
if ( $providerref->{optional} ) {
|
if ( $providerref->{optional} ) {
|
||||||
if ( $providerref->{shared} || $providerref->{physical} eq $provider) {
|
if ( $providerref->{shared} || $providerref->{physical} eq $provider) {
|
||||||
emit "$provider})";
|
emit "$provider)";
|
||||||
} else {
|
} else {
|
||||||
emit( "$providerref->{physical}|$provider)" );
|
emit( "$providerref->{physical}|$provider)" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user