aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-06 01:28:39 -0500
committerBill Nottingham <notting@redhat.com>2010-01-06 01:28:39 -0500
commitb119473cc24511ec64fe0b22ffbec34fbf73ac00 (patch)
tree5c2b801253dee1272da6df584ba8c59419a81012 /rc.d/init.d/network
parent6349fa878717cb24ae22722fe1c12ee971fcecfc (diff)
downloadinitscripts-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/network')
-rwxr-xr-xrc.d/init.d/network5
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)