64
my @options = $globals{UNTRACKED} ? state_imatch 'NEW,UNTRACKED' : state_imatch 'NEW';
64
my @options = have_capability( 'RAW_TABLE' ) ? state_imatch 'NEW,UNTRACKED' : state_imatch 'NEW';
66
66
add_tunnel_rule $inchainref, p => 50, @$source;
67
67
add_tunnel_rule $outchainref, p => 50, @$dest;
286
286
# Setup_Tunnels() Starts Here
288
if ( my $fn = open_file 'tunnels' ) {
288
if ( my $fn = open_file( 'tunnels', 1, 1 ) ) {
290
290
first_entry "$doing $fn...";
292
292
while ( read_a_line( NORMAL_READ ) ) {
294
my ( $kind, $zone, $gateway, $gatewayzones ) = split_line1 'tunnels file', { type => 0, zone => 1, gateway => 2, gateways => 2, gateway_zone => 3 , gateway_zones => 3 }, undef, 4;
294
my ( $kind, $zone, $gateway, $gatewayzones ) = split_line1 'tunnels file', { type => 0, zone => 1, gateway => 2, gateways => 2, gateway_zone => 3 , gateway_zones => 3 }, {}, 4;
296
296
fatal_error 'TYPE must be specified' if $kind eq '-';
298
if ( $kind eq 'COMMENT' ) {
301
fatal_error 'ZONE must be specified' if $zone eq '-';
302
setup_one_tunnel $kind, $zone, $gateway, $gatewayzones;
298
fatal_error 'ZONE must be specified' if $zone eq '-';
299
setup_one_tunnel $kind, $zone, $gateway, $gatewayzones;