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
commitd1c05d734b93897277998645b8b2e16a2da3aefb (patch)
tree471cfb1ce0a1a4e09edd577ffbb146a13549afe9 /package/ppp/patches/320-custom_iface_names.patch
parent0798d4a5c7035bb545dd94527d04fa12b901db15 (diff)
downloadupstream-d1c05d734b93897277998645b8b2e16a2da3aefb.tar.gz
upstream-d1c05d734b93897277998645b8b2e16a2da3aefb.tar.bz2
upstream-d1c05d734b93897277998645b8b2e16a2da3aefb.zip
pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
SVN-Revision: 28497
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 },