mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-17 12:16:58 +02:00
Correct alternate specification in the tunnels file.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@ -284,7 +284,7 @@ sub setup_tunnels() {
|
|||||||
|
|
||||||
while ( read_a_line ) {
|
while ( read_a_line ) {
|
||||||
|
|
||||||
my ( $kind, $zone, $gateway, $gatewayzones ) = split_line1 'tunnels file', { kind => 0, zone => 1, gateway => 2, gateway_zone => 3 };
|
my ( $kind, $zone, $gateway, $gatewayzones ) = split_line1 'tunnels file', { type => 0, zone => 1, gateway => 2, gateway_zone => 3 };
|
||||||
|
|
||||||
fatal_error 'TYPE must be specified' if $kind eq '-';
|
fatal_error 'TYPE must be specified' if $kind eq '-';
|
||||||
fatal_error 'ZONE must be specified' if $zone eq '-';
|
fatal_error 'ZONE must be specified' if $zone eq '-';
|
||||||
|
Reference in New Issue
Block a user