diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-20 13:51:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-20 13:51:36 +0000 |
commit | 137c4262e831eaf2c50dbab3ee41e7fd412dfa8a (patch) | |
tree | 837897509a54eb351bc5e98fe59be9de44a20e44 /package/network/services/ppp/patches/340-populate_default_gateway.patch | |
parent | 64e3f5f510072fffe8a238edc15163b89a6002f8 (diff) | |
download | master-187ad058-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.tar.gz master-187ad058-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.tar.bz2 master-187ad058-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.zip |
pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39963 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1c6d9ac0dd..3fe954d108 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 -@@ -1709,6 +1709,9 @@ int sifdefaultroute (int unit, u_int32_t +@@ -1702,6 +1702,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)) { -@@ -1716,7 +1719,7 @@ int sifdefaultroute (int unit, u_int32_t +@@ -1709,7 +1712,7 @@ int sifdefaultroute (int unit, u_int32_t SIN_ADDR(rt.rt_genmask) = 0L; } |