mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00: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…
Reference in New Issue
Block a user