mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
PPP: Make MAXNAMELEN/MAXSECRETLEN overridable in lwipopts.h
This commit is contained in:
parent
3fa63b35b3
commit
73251bc9c1
@ -1527,9 +1527,12 @@
|
|||||||
#endif
|
#endif
|
||||||
#define PPP_MINMRU 128 /* No MRUs below this */
|
#define PPP_MINMRU 128 /* No MRUs below this */
|
||||||
|
|
||||||
|
#ifndef MAXNAMELEN
|
||||||
#define MAXNAMELEN 256 /* max length of hostname or name for auth */
|
#define MAXNAMELEN 256 /* max length of hostname or name for auth */
|
||||||
|
#endif
|
||||||
|
#ifndef MAXSECRETLEN
|
||||||
#define MAXSECRETLEN 256 /* max length of password or secret */
|
#define MAXSECRETLEN 256 /* max length of password or secret */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user