diff options
author | Bill Nottingham <notting@redhat.com> | 2002-10-12 03:37:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-10-12 03:37:22 +0000 |
commit | 2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2 (patch) | |
tree | 62d0498bcd8a022fa510dce33d5b86d68219c383 | |
parent | a1b74da81c477c68c68e3d9f2a9724bd33edfbb2 (diff) | |
download | initscripts-2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2.tar initscripts-2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2.tar.gz initscripts-2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2.tar.bz2 initscripts-2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2.tar.xz initscripts-2cfc753f0547a71a0ed00c6f549cacd0ea22f7e2.zip |
nuke allmulti/promisc setting at alexey's request
-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}." |