]> git.pld-linux.org Git - packages/iptables.git/blame - raw.patch.ipv6.userspace
- require llh 2.6.7.0-3 (previous versions had broken ip{,6}t API)
[packages/iptables.git] / raw.patch.ipv6.userspace
CommitLineData
98f7edcb
JR
1diff -urN userspace/libiptc/libip6tc.c userspace-raw/libiptc/libip6tc.c
2--- userspace/libiptc/libip6tc.c 2002-02-14 00:13:23.000000000 +0100
3+++ userspace-raw/libiptc/libip6tc.c 2003-05-05 17:49:50.000000000 +0200
4c4e0030 4@@ -381,6 +381,19 @@
5 assert(h->info.hook_entry[NF_IP6_POST_ROUTING] == n);
6 user_offset = h->info.hook_entry[NF_IP6_POST_ROUTING];
7 }
8+ } else if (strcmp(h->info.name, "raw") == 0) {
9+ assert(h->info.valid_hooks
10+ == (1 << NF_IP6_PRE_ROUTING
11+ | 1 << NF_IP6_LOCAL_OUT));
12+
13+ /* Hooks should be first three */
14+ assert(h->info.hook_entry[NF_IP6_PRE_ROUTING] == 0);
15+
16+ n = get_chain_end(h, n);
17+ n += get_entry(h, n)->next_offset;
18+ assert(h->info.hook_entry[NF_IP6_LOCAL_OUT] == n);
19+
20+ user_offset = h->info.hook_entry[NF_IP6_LOCAL_OUT];
21 } else {
22 fprintf(stderr, "Unknown table `%s'\n", h->info.name);
23 abort();
This page took 0.060465 seconds and 4 git commands to generate.