diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-12 19:17:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-12 19:17:10 +0000 |
commit | a96705e93d471dcccdec66e4e84ca7fd61e7ca23 (patch) | |
tree | f049c39a50f8fe035ac7e6a076c512b4f4f76ce4 /package/ppp/patches/340-populate_default_gateway.patch | |
parent | 930f446a7d770417e5c444fd9d2c5060d869a172 (diff) | |
download | upstream-a96705e93d471dcccdec66e4e84ca7fd61e7ca23.tar.gz upstream-a96705e93d471dcccdec66e4e84ca7fd61e7ca23.tar.bz2 upstream-a96705e93d471dcccdec66e4e84ca7fd61e7ca23.zip |
AA: ppp: backport r34171
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34172 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/340-populate_default_gateway.patch')
-rw-r--r-- | package/ppp/patches/340-populate_default_gateway.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/patches/340-populate_default_gateway.patch b/package/ppp/patches/340-populate_default_gateway.patch index 9a0284eb23..1c6d9ac0dd 100644 --- a/package/ppp/patches/340-populate_default_gateway.patch +++ b/package/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; } |