Changeset ca629a6 in freewrt for package/iptables/patches/05-imq1.patch
- Timestamp:
- Jun 25, 2008, 12:52:44 PM (17 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- d7daf0c
- Parents:
- f33c834
- File:
-
- 1 edited
-
package/iptables/patches/05-imq1.patch (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/iptables/patches/05-imq1.patch
rf33c834 rca629a6 1 diff -urN iptables.old/extensions/.IMQ-test iptables.dev/extensions/.IMQ-test 2 --- iptables.old/extensions/.IMQ-test 1970-01-01 01:00:00.000000000 +0100 3 +++ iptables.dev/extensions/.IMQ-test 2005-10-09 01:00:36.358959750 +0200 4 @@ -0,0 +1,3 @@ 5 +#!/bin/sh 6 +# True if IMQ target patch is applied. 7 +[ -f $KERNEL_DIR/net/ipv4/netfilter/ipt_IMQ.c ] && echo IMQ 8 diff -urN iptables.old/extensions/.IMQ-test6 iptables.dev/extensions/.IMQ-test6 9 --- iptables.old/extensions/.IMQ-test6 1970-01-01 01:00:00.000000000 +0100 10 +++ iptables.dev/extensions/.IMQ-test6 2005-10-09 01:00:36.358959750 +0200 1 --- iptables-1.3.6.orig/extensions.orig/.IMQ-test6 Thu Jan 1 01:00:00 1970 2 +++ iptables-1.3.6/extensions/.IMQ-test6 Mon Jun 16 10:12:47 2003 11 3 @@ -0,0 +1,3 @@ 12 4 +#!/bin/sh 13 5 +# True if IMQ target patch is applied. 14 6 +[ -f $KERNEL_DIR/net/ipv6/netfilter/ip6t_IMQ.c ] && echo IMQ 15 diff -urN iptables.old/extensions/libip6t_IMQ.c iptables.dev/extensions/libip6t_IMQ.c 16 --- iptables.old/extensions/libip6t_IMQ.c 1970-01-01 01:00:00.000000000 +0100 17 +++ iptables.dev/extensions/libip6t_IMQ.c 2005-10-09 01:00:36.358959750 +0200 7 --- iptables-1.3.6.orig/extensions.orig/libip6t_IMQ.c Thu Jan 1 01:00:00 1970 8 +++ iptables-1.3.6/extensions/libip6t_IMQ.c Mon Jun 16 10:12:47 2003 18 9 @@ -0,0 +1,101 @@ 19 10 +/* Shared library add-on to iptables to add IMQ target support. */ … … 114 105 +}; 115 106 + 116 + void _init(void)107 +static __attribute__((constructor)) void _init(void) 117 108 +{ 118 109 + register_target6(&imq); 119 110 +} 120 diff -urN iptables.old/extensions/libipt_IMQ.c iptables.dev/extensions/libipt_IMQ.c 121 --- iptables.old/extensions/libipt_IMQ.c 1970-01-01 01:00:00.000000000 +0100 122 +++ iptables.dev/extensions/libipt_IMQ.c 2005-10-09 01:00:36.358959750 +0200 111 --- iptables-1.3.6.orig/extensions.orig/.IMQ-test Thu Jan 1 01:00:00 1970 112 +++ iptables-1.3.6/extensions/.IMQ-test Mon Jun 16 10:12:47 2003 113 @@ -0,0 +1,3 @@ 114 +#!/bin/sh 115 +# True if IMQ target patch is applied. 116 +[ -f $KERNEL_DIR/net/ipv4/netfilter/ipt_IMQ.c ] && echo IMQ 117 --- iptables-1.3.6.orig/extensions.orig/libipt_IMQ.c Thu Jan 1 01:00:00 1970 118 +++ iptables-1.3.6/extensions/libipt_IMQ.c Mon Jun 16 10:12:47 2003 123 119 @@ -0,0 +1,101 @@ 124 120 +/* Shared library add-on to iptables to add IMQ target support. */ … … 219 215 +}; 220 216 + 221 + void _init(void)217 +static __attribute__((constructor)) void _init(void) 222 218 +{ 223 219 + register_target(&imq); 224 220 +} 221
Note:
See TracChangeset
for help on using the changeset viewer.
