mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-02 19:49:08 +01:00
Fix proxyarp attribute
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@171 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
03f2460461
commit
5940dd8815
@ -1236,7 +1236,7 @@ setup_proxy_arp() {
|
||||
interfaces=`find_interfaces_by_option proxyarp`
|
||||
|
||||
for interface in $interfaces; do
|
||||
if qt echo 1 > /proc/sys/net/ipv4/conf/$interface/proxy_arp; then
|
||||
if echo 1 > /proc/sys/net/ipv4/conf/$interface/proxy_arp 2> /dev/null; then
|
||||
echo " Enabled proxy ARP on $interface"
|
||||
else
|
||||
error_message "Warning: Unable to enable proxy ARP on $interface"
|
||||
|
Loading…
Reference in New Issue
Block a user