lkml.org 
[lkml]   [1997]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: pppd forgot to add route netmask
    I just deleted the printk.  I've been using ppp-2.3b3 because 2.2.0f
    made my machine crash hard.

    diff -u -r --new-file linux-2.1.23-dist/net/ipv4/fib.c
    linux/net/ipv4/fib.c
    --- linux-2.1.23-dist/net/ipv4/fib.c Sun Jan 26 10:54:43 1997
    +++ linux/net/ipv4/fib.c Sun Jan 26 10:58:35 1997
    @@ -1602,7 +1602,6 @@
    } else {
    u32 mask = ((struct
    sockaddr_in*)&r.rt_genmask)->sin_addr.s_addr;
    if (r.rt_genmask.sa_family != AF_INET) {
    - printk(KERN_WARNING "%s forgot to specify route
    netmask.\n", current->comm);
    if (r.rt_genmask.sa_family)
    return -EAFNOSUPPORT;
    }
    ___
    Trevor Johnson <trevor@jpj.net>

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