aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/320-custom_iface_names.patch
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-06-15 20:55:17 +0000
committerSteven Barth <steven@midlink.org>2014-06-15 20:55:17 +0000
commit02fcbc164361f4944371cf9101403cdd9e647433 (patch)
tree72336ea5df4dc69920ea7cbd71c12805d33d281b /package/network/services/ppp/patches/320-custom_iface_names.patch
parenta20868ab2335d730e1771affad6a8046c1ffe2a8 (diff)
downloadmaster-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/320-custom_iface_names.patch')
-rw-r--r--package/network/services/ppp/patches/320-custom_iface_names.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/ppp/patches/320-custom_iface_names.patch b/package/network/services/ppp/patches/320-custom_iface_names.patch
index 28da9753ae..1b6561098b 100644
--- a/package/network/services/ppp/patches/320-custom_iface_names.patch
+++ b/package/network/services/ppp/patches/320-custom_iface_names.patch
@@ -25,7 +25,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
create_pidfile(getpid()); /* write pid to file */
--- a/pppd/options.c
+++ b/pppd/options.c
-@@ -111,6 +111,7 @@ int log_to_fd = 1; /* send log messages
+@@ -112,6 +112,7 @@ int log_to_fd = 1; /* send log messages
bool log_default = 1; /* log_to_fd is default (stdout) */
int maxfail = 10; /* max # of unsuccessful connection attempts */
char linkname[MAXPATHLEN]; /* logical name for link */
@@ -33,7 +33,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
bool tune_kernel; /* may alter kernel settings */
int connect_delay = 1000; /* wait this many ms after connect script */
int req_unit = -1; /* requested interface unit */
-@@ -266,6 +267,9 @@ option_t general_options[] = {
+@@ -277,6 +278,9 @@ option_t general_options[] = {
{ "linkname", o_string, linkname,
"Set logical name for link",
OPT_PRIO | OPT_PRIV | OPT_STATIC, NULL, MAXPATHLEN },
@@ -56,7 +56,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
/*
* Limits.
*/
-@@ -312,6 +316,7 @@ extern char *record_file; /* File to rec
+@@ -316,6 +320,7 @@ extern char *record_file; /* File to rec
extern bool sync_serial; /* Device is synchronous serial device */
extern int maxfail; /* Max # of unsuccessful connection attempts */
extern char linkname[MAXPATHLEN]; /* logical name for link */