pppd: support the nomp option if multilink support is disabled

SVN-Revision: 26614
v19.07.3_mercusys_ac12_duma
Felix Fietkau 13 years ago
parent 768877966d
commit 512bb389ee

@ -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 },
Loading…
Cancel
Save