diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index bc954d2e..eb99a778 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -1527,9 +1527,12 @@ #endif #define PPP_MINMRU 128 /* No MRUs below this */ - +#ifndef MAXNAMELEN #define MAXNAMELEN 256 /* max length of hostname or name for auth */ +#endif +#ifndef MAXSECRETLEN #define MAXSECRETLEN 256 /* max length of password or secret */ +#endif #endif /* PPP_SUPPORT */