summaryrefslogtreecommitdiff
path: root/package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
commit7fa3fe6741b08fb26058e92a43dfd9d3798d102a (patch)
treea1e3e513ee443172b8936c89c1df1a09c21497fa /package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
parent0f474633e146b30c1775d15ced6bdf8529b16863 (diff)
downloadmtk-20170518-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.zip
mtk-20170518-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.gz
mtk-20170518-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.bz2
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/321-multilink_support_custom_iface_names.patch')
-rw-r--r--package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch b/package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
index ed04886..dcdf34c 100644
--- a/package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
+++ b/package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
@@ -118,7 +118,7 @@ Signed-off-by: George Kashperko <george@znau.edu.ua>
&& memcmp(vd.dptr, key.dptr, vd.dsize) == 0;
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
-@@ -700,6 +700,16 @@ void cfg_bundle(int mrru, int mtru, int
+@@ -693,6 +693,16 @@ void cfg_bundle(int mrru, int mtru, int
add_fd(ppp_dev_fd);
}
@@ -135,7 +135,7 @@ Signed-off-by: George Kashperko <george@znau.edu.ua>
/*
* make_new_bundle - create a new PPP unit (i.e. a bundle)
* and connect our channel to it. This should only get called
-@@ -718,6 +728,8 @@ void make_new_bundle(int mrru, int mtru,
+@@ -711,6 +721,8 @@ void make_new_bundle(int mrru, int mtru,
/* set the mrru and flags */
cfg_bundle(mrru, mtru, rssn, tssn);