Re: 2.2.0pre5 masquerade compile error

Scott Smyth (smyth@cerberus.realminfo.com)
Fri, 8 Jan 1999 15:22:29 -0500 (EST)


There is a pre5-ac1 fix on Alan Cox's web page that fixes this
problem. I use masquerading, and pre5-ac1 compiled and worked
with masquerading (ntfs fixed too).

ftp.uk.linux.org/pub/linux/alan/
Good luck,
Scott

On Thu, 7 Jan 1999, Mike Leddy wrote:

> 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/
>

-- 
Scott Smyth, Senior Developer R&D
(770) 446-1332
ssmyth@realminfo.com

- 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/