diff options
author | Steven Barth <steven@midlink.org> | 2014-06-15 20:55:17 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-06-15 20:55:17 +0000 |
commit | 02fcbc164361f4944371cf9101403cdd9e647433 (patch) | |
tree | 72336ea5df4dc69920ea7cbd71c12805d33d281b /package/network/services/ppp/patches/400-simplify_kernel_checks.patch | |
parent | a20868ab2335d730e1771affad6a8046c1ffe2a8 (diff) | |
download | master-187ad058-02fcbc164361f4944371cf9101403cdd9e647433.tar.gz master-187ad058-02fcbc164361f4944371cf9101403cdd9e647433.tar.bz2 master-187ad058-02fcbc164361f4944371cf9101403cdd9e647433.zip |
ppp: bump to 2.4.6
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41193 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ppp/patches/400-simplify_kernel_checks.patch')
-rw-r--r-- | package/network/services/ppp/patches/400-simplify_kernel_checks.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/network/services/ppp/patches/400-simplify_kernel_checks.patch b/package/network/services/ppp/patches/400-simplify_kernel_checks.patch index 89c5861878..36973d17f9 100644 --- a/package/network/services/ppp/patches/400-simplify_kernel_checks.patch +++ b/package/network/services/ppp/patches/400-simplify_kernel_checks.patch @@ -19,7 +19,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> static char loop_name[20]; static unsigned char inbuf[512]; /* buffer for chars read from loopback */ -@@ -213,8 +213,8 @@ static int looped; /* 1 if using loop +@@ -213,8 +213,8 @@ static int looped; /* 1 if using loop static int link_mtu; /* mtu for the link (not bundle) */ static struct utsname utsname; /* for the kernel version */ @@ -72,7 +72,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> /* XXX should get from driver */ driver_version = 2; -@@ -2190,6 +2196,7 @@ int ppp_available(void) +@@ -2189,6 +2195,7 @@ int ppp_available(void) if (ok && ((ifr.ifr_hwaddr.sa_family & ~0xFF) != ARPHRD_PPP)) ok = 0; @@ -80,7 +80,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> /* * This is the PPP device. Validate the version of the driver at this -@@ -2683,6 +2690,7 @@ get_pty(master_fdp, slave_fdp, slave_nam +@@ -2684,6 +2691,7 @@ get_pty(master_fdp, slave_fdp, slave_nam } #endif /* TIOCGPTN */ @@ -88,7 +88,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> if (sfd < 0) { /* the old way - scan through the pty name space */ for (i = 0; i < 64; ++i) { -@@ -2701,6 +2709,7 @@ get_pty(master_fdp, slave_fdp, slave_nam +@@ -2702,6 +2710,7 @@ get_pty(master_fdp, slave_fdp, slave_nam } } } @@ -98,7 +98,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> return 0; --- a/pppd/plugins/pppoatm/pppoatm.c +++ b/pppd/plugins/pppoatm/pppoatm.c -@@ -170,14 +170,6 @@ static void disconnect_pppoatm(void) +@@ -168,14 +168,6 @@ static void disconnect_pppoatm(void) void plugin_init(void) { @@ -115,7 +115,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> } --- a/pppd/plugins/rp-pppoe/plugin.c +++ b/pppd/plugins/rp-pppoe/plugin.c -@@ -60,9 +60,6 @@ static char const RCSID[] = +@@ -59,9 +59,6 @@ static char const RCSID[] = char pppd_version[] = VERSION; @@ -125,7 +125,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> char *pppd_pppoe_service = NULL; static char *acName = NULL; static char *existingSession = NULL; -@@ -340,10 +337,6 @@ PPPoEDevnameHook(char *cmd, char **argv, +@@ -371,10 +368,6 @@ PPPoEDevnameHook(char *cmd, char **argv, void plugin_init(void) { |