[patchteam] modified patch added missing ipt_REDIRECT from initialize.fw
[openwrt/svn-archive/archive.git] / net / nocatsplash / patches / 001-openwrt_firewall.patch
1 diff -urN NoCatSplash-0.92.old/libexec/iptables/initialize.fw NoCatSplash-0.92/libexec/iptables/initialize.fw
2 --- NoCatSplash-0.92.old/libexec/iptables/initialize.fw 2002-12-27 11:44:41.000000000 +0100
3 +++ NoCatSplash-0.92/libexec/iptables/initialize.fw 2005-04-04 20:45:57.000000000 +0200
4 @@ -28,13 +28,9 @@
5
6 # Load alllll the kernel modules we need.
7 #
8 -rmmod ipchains > /dev/null 2>&1 # for RH 7.1 users.
9
10 -for module in ip_tables ipt_REDIRECT ipt_MASQUERADE ipt_MARK ipt_REJECT \
11 - ipt_TOS ipt_LOG iptable_mangle iptable_filter iptable_nat ip_nat_ftp \
12 - ip_conntrack ipt_mac ipt_state ipt_mark; do
13 -
14 - modprobe $module
15 +for module in ipt_TOS ipt_mac ipt_REDIRECT; do
16 + insmod $module
17 done
18
19