From d8dea9541a4b74a865cea558a8f4e56364415712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 31 Aug 2017 23:29:17 +0200 Subject: [PATCH] Allow to pass TELNET_ONLY_AP as a build flag --- code/espurna/config/general.h | 3 +++ 1 file changed, 3 insertions(+) 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