projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath9k: add some cleanup patches
[openwrt.git]
/
package
/
ppp
/
patches
/
330-retain_foreign_default_routes.patch
diff --git
a/package/ppp/patches/330-retain_foreign_default_routes.patch
b/package/ppp/patches/330-retain_foreign_default_routes.patch
index
d60ccae
..
dc6ed8d
100644
(file)
--- a/
package/ppp/patches/330-retain_foreign_default_routes.patch
+++ b/
package/ppp/patches/330-retain_foreign_default_routes.patch
@@
-1,10
+1,10
@@
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
-@@ -17
17,6 +1717
,7 @@ int cifdefaultroute (int unit, u_int32_t
+@@ -17
43,6 +1743
,7 @@ int cifdefaultroute (int unit, u_int32_t
SIN_ADDR(rt.rt_genmask) = 0L;
}
SIN_ADDR(rt.rt_genmask) = 0L;
}
-+
rt.rt_dev = ifname;
++ rt.rt_dev = ifname;
rt.rt_flags = RTF_UP;
if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
if (still_ppp()) {
rt.rt_flags = RTF_UP;
if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
if (still_ppp()) {
This page took
0.02734 seconds
and
4
git commands to generate.