diff options
-rw-r--r-- | sysconfig.txt | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sysconfig.txt b/sysconfig.txt index 35d8ba75..248b9bba 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -614,7 +614,7 @@ Files in /etc/sysconfig/network-scripts/ Managed from /etc/sysconfig/network-scripts/ifup-ipx ARP=yes|no (adds 'arp' flag to ifconfig, for use with the ethertap device) - Deprecated: + No longer supported: PROMISC=yes|no (enable or disable promiscuous mode) ALLMULTI=yes|no (enable or disable all-multicast mode) diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index eb532d43..e321a4e0 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -217,10 +217,8 @@ else expand_config - [ -n "${ARP}${PROMISC}${ALLMULTI}" ] && \ - ip link set ${REALDEVICE} $(toggle_value arp $ARP) \ - $(toggle_value promisc $PROMISC) \ - $(toggle_value allmulti $ALLMULTI) + [ -n "${ARP}" ] && \ + ip link set ${REALDEVICE} $(toggle_value arp $ARP) if ! ip link set ${REALDEVICE} up ; then echo $"Failed to bring up ${DEVICE}." |