diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-12 19:13:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-12 19:13:45 +0000 |
commit | db207e2a873e55747a6a6bff407c8b3de04d8301 (patch) | |
tree | 7d4ff3db2e0e4e2f5936d13d443b4f56b5d4b364 /package/network/services/ppp/patches/340-populate_default_gateway.patch | |
parent | a8c492dbb37a4f5213e428e011913e584dcb0bf7 (diff) | |
download | upstream-db207e2a873e55747a6a6bff407c8b3de04d8301.tar.gz upstream-db207e2a873e55747a6a6bff407c8b3de04d8301.tar.bz2 upstream-db207e2a873e55747a6a6bff407c8b3de04d8301.zip |
ppp: - fix multilink ppp with custom ifnames, patch by George Kashperko <george@znau.edu.ua> - refresh patches
SVN-Revision: 34171
Diffstat (limited to 'package/network/services/ppp/patches/340-populate_default_gateway.patch')
-rw-r--r-- | package/network/services/ppp/patches/340-populate_default_gateway.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/ppp/patches/340-populate_default_gateway.patch b/package/network/services/ppp/patches/340-populate_default_gateway.patch index 9a0284eb23..1c6d9ac0dd 100644 --- a/package/network/services/ppp/patches/340-populate_default_gateway.patch +++ b/package/network/services/ppp/patches/340-populate_default_gateway.patch @@ -13,7 +13,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c -@@ -1697,6 +1697,9 @@ int sifdefaultroute (int unit, u_int32_t +@@ -1709,6 +1709,9 @@ int sifdefaultroute (int unit, u_int32_t memset (&rt, 0, sizeof (rt)); SET_SA_FAMILY (rt.rt_dst, AF_INET); @@ -23,7 +23,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> rt.rt_dev = ifname; if (kernel_version > KVERSION(2,1,0)) { -@@ -1704,7 +1707,7 @@ int sifdefaultroute (int unit, u_int32_t +@@ -1716,7 +1719,7 @@ int sifdefaultroute (int unit, u_int32_t SIN_ADDR(rt.rt_genmask) = 0L; } |