base-files: remove an old network tunable tweak which is messing up network stack...
[openwrt-10.03/.git] / package / ppp / patches / 330-retain_foreign_default_routes.patch
1 --- a/pppd/sys-linux.c
2 +++ b/pppd/sys-linux.c
3 @@ -1717,6 +1717,7 @@ int cifdefaultroute (int unit, u_int32_t
4         SIN_ADDR(rt.rt_genmask) = 0L;
5      }
6  
7 +    rt.rt_dev = ifname;
8      rt.rt_flags = RTF_UP;
9      if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
10         if (still_ppp()) {