Messages in this thread | | | Date | Thu, 07 Jan 1999 12:23:47 -0300 | From | Mike Leddy <> | Subject | 2.2.0pre5 masquerade compile error |
| |
There's an undefined constant in the masquerading code...
termi06:/usr/src/2.2/linux# find . -type f | xargs grep IP_MASQ_F_DLOOSE ./net/ipv4/ip_masq.c:#define MASQ_DADDR_PASS (IP_MASQ_F_NO_DADDR|IP_MASQ_F_DLOOSE) ./net/ipv4/ip_masq.c:#define MASQ_DPORT_PASS (IP_MASQ_F_NO_DPORT|IP_MASQ_F_DLOOSE) ./net/ipv4/ip_masq.c: ms->flags |= IP_MASQ_F_DLOOSE; ./net/ipv4/ip_masq.c: if (ms->flags & IP_MASQ_F_DLOOSE) { ./net/ipv4/ip_masq.c: if (ms->flags & IP_MASQ_F_DLOOSE) {
It looks like it is the only problem as I inserted a define for an unused bit in include/net/ip_masq.h and it compiled.
#define IP_MASQ_F_DLOOSE 0x0020
I haven't as yet tested the resulting kernel, I only use masquerading on my home PCs.
Mike.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |