forked from extern/shorewall_code
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:
parent
e240959bb4
commit
a33b2cf937
@ -2402,9 +2402,9 @@ __EOF__
|
||||
interfaces=$(find_interfaces_by_option proxyarp)
|
||||
|
||||
for interface in $interfaces; do
|
||||
indent >> $RESTOREFILE << __EOF__
|
||||
indent >&3 << __EOF__
|
||||
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
|
||||
error_message "WARNING: Unable to enable proxy ARP on $interface"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user