ar71xx: use the button for WPS control on the DB120
[openwrt.git] / package / ppp / patches / 330-retain_foreign_default_routes.patch
1 --- a/pppd/sys-linux.c
2 +++ b/pppd/sys-linux.c
3 @@ -1743,6 +1743,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.049255 seconds and 5 git commands to generate.