projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] ppp: move the rp_pppoe_* options behind the plugin argument
[openwrt/svn-archive/archive.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()) {