aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/320-custom_iface_names.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-20 21:42:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-20 21:42:07 +0000
commit4e958797f691e0b90d1770c465d4a3101eb948ac (patch)
tree83615d0e3ea39ecc320e90ab8a057e25a92df188 /package/ppp/patches/320-custom_iface_names.patch
parent4bac6eb4441e7c56dad416e91a3421d6a8cc88d5 (diff)
downloadupstream-4e958797f691e0b90d1770c465d4a3101eb948ac.tar.gz
upstream-4e958797f691e0b90d1770c465d4a3101eb948ac.tar.bz2
upstream-4e958797f691e0b90d1770c465d4a3101eb948ac.zip
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 542f0a0d28..26e6837532 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 },