lkml.org 
[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.2.0pre5 masquerade compile error
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.035 / U:2.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site