summaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/320-custom_iface_names.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 21:42:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 21:42:07 +0000
commita28c14be78000c12b4169addaf5c7f7a793f8e7c (patch)
tree83615d0e3ea39ecc320e90ab8a057e25a92df188 /package/ppp/patches/320-custom_iface_names.patch
parent1981c3be16f4db2394f6cf505650cb40b4ab9af1 (diff)
pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28497 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/320-custom_iface_names.patch')
-rw-r--r--package/ppp/patches/320-custom_iface_names.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/patches/320-custom_iface_names.patch b/package/ppp/patches/320-custom_iface_names.patch
index 542f0a0d2..26e683753 100644
--- a/package/ppp/patches/320-custom_iface_names.patch
+++ b/package/ppp/patches/320-custom_iface_names.patch
@@ -1,6 +1,6 @@
--- a/pppd/main.c
+++ b/pppd/main.c
-@@ -743,8 +743,11 @@ void
+@@ -745,8 +745,11 @@ void
set_ifunit(iskey)
int iskey;
{
@@ -24,7 +24,7 @@
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 */
-@@ -264,6 +265,9 @@ option_t general_options[] = {
+@@ -266,6 +267,9 @@ option_t general_options[] = {
{ "linkname", o_string, linkname,
"Set logical name for link",
OPT_PRIO | OPT_PRIV | OPT_STATIC, NULL, MAXPATHLEN },