mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-05 13:08:50 +01:00
Fix a couple of silly bugs
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5578 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1fd340c6d7
commit
4715a87ebc
@ -50,7 +50,7 @@ sub setup_one_proxy_arp( $$$$$ ) {
|
|||||||
} elsif ( "\L$haveroute" eq 'yes' ) {
|
} elsif ( "\L$haveroute" eq 'yes' ) {
|
||||||
$haveroute = 1;
|
$haveroute = 1;
|
||||||
} else {
|
} else {
|
||||||
fatal_error "Invalid value ($haveroute) for HAVROUTE in Proxy Arp Entry \"$line\"";
|
fatal_error "Invalid value ($haveroute) for HAVEROUTE in Proxy Arp Entry \"$line\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
$persistent = '-' unless $persistent;
|
$persistent = '-' unless $persistent;
|
||||||
|
@ -320,7 +320,7 @@ stop_firewall() {
|
|||||||
emit '';
|
emit '';
|
||||||
|
|
||||||
for my $hosts ( @$criticalhosts ) {
|
for my $hosts ( @$criticalhosts ) {
|
||||||
my ( $interface, $host ) = ( split /,/, $hosts );
|
my ( $interface, $host ) = ( split /:/, $hosts );
|
||||||
my $source = match_source_net $host;
|
my $source = match_source_net $host;
|
||||||
my $dest = match_dest_net $host;
|
my $dest = match_dest_net $host;
|
||||||
|
|
||||||
@ -712,6 +712,7 @@ sub compile_firewall( $ ) {
|
|||||||
generate_script_3;
|
generate_script_3;
|
||||||
finalize_object;
|
finalize_object;
|
||||||
generate_aux_config;
|
generate_aux_config;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user