Fix 'proxyarp' interface handling

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3841 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-05-02 20:01:43 +00:00
parent e240959bb4
commit a33b2cf937

View File

@ -2402,9 +2402,9 @@ __EOF__
interfaces=$(find_interfaces_by_option proxyarp) interfaces=$(find_interfaces_by_option proxyarp)
for interface in $interfaces; do for interface in $interfaces; do
indent >> $RESTOREFILE << __EOF__ indent >&3 << __EOF__
if [ -f /proc/sys/net/ipv4/conf/$interface/proxy_arp ] ; then if [ -f /proc/sys/net/ipv4/conf/$interface/proxy_arp ] ; then
echo 1 > /proc/sys/net/ipv4/conf/$interface/proxy_arP echo 1 > /proc/sys/net/ipv4/conf/$interface/proxy_arp
else else
error_message "WARNING: Unable to enable proxy ARP on $interface" error_message "WARNING: Unable to enable proxy ARP on $interface"
fi fi