mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-28 08:37:28 +00:00
removed multilink option when multilink support is not compiled
This commit is contained in:
parent
2ec79c03a0
commit
552589f098
@ -741,11 +741,15 @@ lcp_resetci(f)
|
||||
wo->magicnumber = magic();
|
||||
wo->numloops = 0;
|
||||
*go = *wo;
|
||||
#ifdef HAVE_MULTILINK
|
||||
if (!multilink) {
|
||||
#endif /* HAVE_MULTILINK */
|
||||
go->neg_mrru = 0;
|
||||
go->neg_ssnhf = 0;
|
||||
go->neg_endpoint = 0;
|
||||
#ifdef HAVE_MULTILINK
|
||||
}
|
||||
#endif /* HAVE_MULTILINK */
|
||||
if (noendpoint)
|
||||
ao->neg_endpoint = 0;
|
||||
peer_mru[f->unit] = PPP_MRU;
|
||||
@ -2165,8 +2169,11 @@ lcp_reqci(f, inp, lenp, reject_if_disagree)
|
||||
break;
|
||||
|
||||
case CI_MRRU:
|
||||
if (!ao->neg_mrru || !multilink ||
|
||||
cilen != CILEN_SHORT) {
|
||||
if (!ao->neg_mrru
|
||||
#ifdef HAVE_MULTILINK
|
||||
|| !multilink
|
||||
#endif /* HAVE_MULTILINK */
|
||||
|| cilen != CILEN_SHORT) {
|
||||
orc = CONFREJ;
|
||||
break;
|
||||
}
|
||||
@ -2178,8 +2185,11 @@ lcp_reqci(f, inp, lenp, reject_if_disagree)
|
||||
break;
|
||||
|
||||
case CI_SSNHF:
|
||||
if (!ao->neg_ssnhf || !multilink ||
|
||||
cilen != CILEN_VOID) {
|
||||
if (!ao->neg_ssnhf
|
||||
#ifdef HAVE_MULTILINK
|
||||
|| !multilink
|
||||
#endif /* HAVE_MULTILINK */
|
||||
|| cilen != CILEN_VOID) {
|
||||
orc = CONFREJ;
|
||||
break;
|
||||
}
|
||||
|
@ -121,7 +121,9 @@ char linkname[MAXPATHLEN]; /* logical name for link */
|
||||
bool tune_kernel; /* may alter kernel settings */
|
||||
int connect_delay = 1000; /* wait this many ms after connect script */
|
||||
int req_unit = -1; /* requested interface unit */
|
||||
#if 0
|
||||
bool multilink = 0; /* Enable multilink operation */
|
||||
#endif
|
||||
char *bundle_name = NULL; /* bundle name for multilink */
|
||||
bool dump_options; /* print out option values */
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user