diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index a791c8c3..25c1e8d6 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -17,7 +17,10 @@ #define TELNET_SUPPORT 1 // Enable telnet support by default #endif +#ifndef TELNET_ONLY_AP #define TELNET_ONLY_AP 1 // By default, allow only connections via AP interface +#endif + #define TELNET_PORT 23 // Port to listen to telnet clients #define TELNET_MAX_CLIENTS 1 // Max number of concurrent telnet clients