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:
teastep 2007-03-19 18:34:49 +00:00
parent 4715a87ebc
commit 8a76ec1f30

View File

@ -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\"";
}