summaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/405-no_multilink_option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/405-no_multilink_option.patch')
-rw-r--r--package/ppp/patches/405-no_multilink_option.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/ppp/patches/405-no_multilink_option.patch b/package/ppp/patches/405-no_multilink_option.patch
index fc342b72d..97a79c474 100644
--- a/package/ppp/patches/405-no_multilink_option.patch
+++ b/package/ppp/patches/405-no_multilink_option.patch
@@ -1,3 +1,12 @@
+pppd: Support "nomp" option even if multilink support is off
+
+This patch moves the "nomp" option entry outside of the defines protecting
+the multilink specific code. The motivation is to allow "nomp" even if pppd
+does not support multilink, so that controlling programs can unconditionally
+pass it to pppd regardless of the compile time features.
+
+Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
+
--- a/pppd/options.c
+++ b/pppd/options.c
@@ -318,13 +318,14 @@ option_t general_options[] = {