mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Fix contents of /var/lib/shorewall[-lite]/proxyarp
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5579 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4715a87ebc
commit
8a76ec1f30
@ -46,9 +46,9 @@ sub setup_one_proxy_arp( $$$$$ ) {
|
||||
$haveroute = '-' unless $haveroute;
|
||||
|
||||
if ( "\L$haveroute" eq 'no' || $haveroute eq '-' ) {
|
||||
$haveroute = 0;
|
||||
$haveroute = '';
|
||||
} elsif ( "\L$haveroute" eq 'yes' ) {
|
||||
$haveroute = 1;
|
||||
$haveroute = 'yes';
|
||||
} else {
|
||||
fatal_error "Invalid value ($haveroute) for HAVEROUTE in Proxy Arp Entry \"$line\"";
|
||||
}
|
||||
@ -56,9 +56,9 @@ sub setup_one_proxy_arp( $$$$$ ) {
|
||||
$persistent = '-' unless $persistent;
|
||||
|
||||
if ( "\L$persistent" eq 'no' || $persistent eq '-' ) {
|
||||
$persistent = 0;
|
||||
$persistent = '';
|
||||
} elsif ( "\L$persistent" eq 'yes' ) {
|
||||
$persistent = 1;
|
||||
$persistent = 'yes';
|
||||
} else {
|
||||
fatal_error "Invalid value ($persistent) for PERSISTENT in Proxy Arp Entry \"$line\"";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user