diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-12 18:29:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-12 18:29:28 +0000 |
commit | 30e3b0f535b6040f543bad3aa599234249ae83f1 (patch) | |
tree | afba69a7eed31a7340adc6ef3b0cd7d82a3fd489 /package/ppp | |
parent | f1f27abcc6994a74827eb5cc8a4330f2e7ed40a2 (diff) | |
download | upstream-30e3b0f535b6040f543bad3aa599234249ae83f1.tar.gz upstream-30e3b0f535b6040f543bad3aa599234249ae83f1.tar.bz2 upstream-30e3b0f535b6040f543bad3aa599234249ae83f1.zip |
pppd: support the nomp option if multilink support is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26614 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp')
-rw-r--r-- | package/ppp/patches/405-no_multilink_option.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/ppp/patches/405-no_multilink_option.patch b/package/ppp/patches/405-no_multilink_option.patch new file mode 100644 index 0000000000..5c8cfbd061 --- /dev/null +++ b/package/ppp/patches/405-no_multilink_option.patch @@ -0,0 +1,19 @@ +--- a/pppd/options.c ++++ b/pppd/options.c +@@ -309,13 +309,14 @@ option_t general_options[] = { + "Enable multilink operation", OPT_PRIOSUB | OPT_ALIAS | 1 }, + { "nomultilink", o_bool, &multilink, + "Disable multilink operation", OPT_PRIOSUB | 0 }, +- { "nomp", o_bool, &multilink, +- "Disable multilink operation", OPT_PRIOSUB | OPT_ALIAS | 0 }, + + { "bundle", o_string, &bundle_name, + "Bundle name for multilink", OPT_PRIO }, + #endif /* HAVE_MULTILINK */ + ++ { "nomp", o_bool, &multilink, ++ "Disable multilink operation", OPT_PRIOSUB | OPT_ALIAS | 0 }, ++ + #ifdef PLUGIN + { "plugin", o_special, (void *)loadplugin, + "Load a plug-in module into pppd", OPT_PRIV | OPT_A2LIST }, |