summaryrefslogtreecommitdiff
path: root/package/ppp/patches/320-custom_iface_names.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/320-custom_iface_names.patch')
-rw-r--r--package/ppp/patches/320-custom_iface_names.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/ppp/patches/320-custom_iface_names.patch b/package/ppp/patches/320-custom_iface_names.patch
index 26e6837..a95f4f8 100644
--- a/package/ppp/patches/320-custom_iface_names.patch
+++ b/package/ppp/patches/320-custom_iface_names.patch
@@ -1,3 +1,12 @@
+pppd: Support arbitrary interface names
+
+This patch implements a new string option "ifname" which allows to specify
+fully custom PPP interface names on Linux. It does so by renaming the
+allocated pppX device immediately after it has been created to the requested
+interface name.
+
+Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
+
--- a/pppd/main.c
+++ b/pppd/main.c
@@ -745,8 +745,11 @@ void