[package] 6to4: don't start if detected local IPv4 address is RFC1918, allows people...
[openwrt.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()) {
This page took 0.048893 seconds and 5 git commands to generate.