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:33:17 -0500 |
commit | 975cb0add7a6b8d4b2277e4581094de207b8147a (patch) | |
tree | 87d1213fdabbabc0a3b484d63166991f8632b2a5 | |
parent | 8a9bb8cc2543a4568ee2a9f240edd090ff932bbd (diff) | |
download | initscripts-975cb0add7a6b8d4b2277e4581094de207b8147a.tar initscripts-975cb0add7a6b8d4b2277e4581094de207b8147a.tar.gz initscripts-975cb0add7a6b8d4b2277e4581094de207b8147a.tar.bz2 initscripts-975cb0add7a6b8d4b2277e4581094de207b8147a.tar.xz initscripts-975cb0add7a6b8d4b2277e4581094de207b8147a.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 f468c636..7f9f5748 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -225,11 +225,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 d6c52bb1..3be175fb 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -271,12 +271,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 |