Re: pppd forgot to add route netmask

Trevor Johnson (trevor@blues.jpj.net)
Thu, 30 Jan 1997 02:03:10 -0800 (PST)


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>