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 | 7fa3fe6741b08fb26058e92a43dfd9d3798d102a (patch) | |
tree | a1e3e513ee443172b8936c89c1df1a09c21497fa /package/network/services/ppp/patches/340-populate_default_gateway.patch | |
parent | 0f474633e146b30c1775d15ced6bdf8529b16863 (diff) | |
download | upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.gz upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.bz2 upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.zip |
pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39963
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; } |