PPP: Make MAXNAMELEN/MAXSECRETLEN overridable in lwipopts.h

This commit is contained in:
goldsimon 2009-12-04 09:00:55 +00:00
parent 3fa63b35b3
commit 73251bc9c1

View File

@ -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 */