From db18c076d609498aeca61e15b612c48351cc1c01 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 4 Jan 2011 16:00:38 -0500 Subject: Frob device when calling sysctl, in case of vlans. (#665601, #667211, ) --- sysconfig/network-scripts/ifup-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-eth') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 326eba1a..7d165ca5 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -261,7 +261,7 @@ else fi if [ -n "$SRCADDR" ]; then - sysctl -w "net.ipv4.conf.${REALDEVICE}.arp_filter=1" >/dev/null 2>&1 + sysctl -w "net.ipv4.conf.${SYSCTLDEVICE}.arp_filter=1" >/dev/null 2>&1 fi # update ARP cache of neighboring computers -- cgit v1.2.1