From 2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Sat, 12 Oct 2002 03:37:22 +0000 Subject: nuke allmulti/promisc setting at alexey's request --- sysconfig.txt | 2 +- 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}." -- cgit v1.2.1