mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
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)
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user