mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-02 15:01:06 +02:00
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
This commit is contained in:
parent
9587f988b7
commit
562ffbf7a2
19
package/ppp/patches/405-no_multilink_option.patch
Normal file
19
package/ppp/patches/405-no_multilink_option.patch
Normal file
@ -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…
x
Reference in New Issue
Block a user