diff options
author | Bill Nottingham <notting@redhat.com> | 2010-01-06 01:28:39 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-01-06 01:28:39 -0500 |
commit | b119473cc24511ec64fe0b22ffbec34fbf73ac00 (patch) | |
tree | 5c2b801253dee1272da6df584ba8c59419a81012 /rc.d/init.d | |
parent | 6349fa878717cb24ae22722fe1c12ee971fcecfc (diff) | |
download | initscripts-b119473cc24511ec64fe0b22ffbec34fbf73ac00.tar initscripts-b119473cc24511ec64fe0b22ffbec34fbf73ac00.tar.gz initscripts-b119473cc24511ec64fe0b22ffbec34fbf73ac00.tar.bz2 initscripts-b119473cc24511ec64fe0b22ffbec34fbf73ac00.tar.xz initscripts-b119473cc24511ec64fe0b22ffbec34fbf73ac00.zip |
ip_always_defrag was removed in the *2.4* kernel.
I think we can safely remove this code.
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/network | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0eb00e6b..777c66e8 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -264,11 +264,6 @@ case "$1" in action $"Disabling IPv4 packet forwarding: " sysctl -w net.ipv4.ip_forward=0 fi fi - if [ -f /proc/sys/net/ipv4/ip_always_defrag ]; then - if [ $(cat /proc/sys/net/ipv4/ip_always_defrag) != 0 ]; then - action $"Disabling IPv4 automatic defragmentation: " sysctl -w net.ipv4.ip_always_defrag=0 - fi - fi fi # IPv6 hook (post IPv4 stop) |