projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d60ccae50c17c049dc6d3ee74374b5cd547fd7ed
[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()) {