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 | |
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.
-rwxr-xr-x | rc.d/init.d/network | 5 | ||||
-rw-r--r-- | sysconfig.txt | 6 |
2 files changed, 0 insertions, 11 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) diff --git a/sysconfig.txt b/sysconfig.txt index 582fb4d9..55dd4ca5 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -278,12 +278,6 @@ Generic options: This setting has been moved into net.ipv4.ip_forward setting in /etc/sysctl.conf. Setting it to 1 there enables IP forwarding, setting it to 0 disables it (which is the default for RFC compliance). - DEFRAG_IPV4=yes|no - Setting this to yes used to automatically defragment IPv4 - packets. This is a good idea for masquerading, and - a bad idea otherwise. This setting was moved into - net.ipv4.ip_always_defrag setting in /etc/sysctl.conf. It - is no longer valid for 2.4 kernels. NETWORKING_IPV6=yes|no Enable or disable global IPv6 initialization |