aboutsummaryrefslogtreecommitdiffstats
path: root/util/telnet-client.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-14 19:58:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-14 19:58:20 +0200
commit4d2cdc7986e9a21b74d1a9c1dc1cadc6694ef559 (patch)
tree2e98414d0c86e6c7cd901d72685a92aed71e901c /util/telnet-client.c
parent8d545fbb62fee46bb282277c9ae50b8d9f94a2c1 (diff)
ipaccess: Start without echoing by default for ipaccess
Diffstat (limited to 'util/telnet-client.c')
-rw-r--r--util/telnet-client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/telnet-client.c b/util/telnet-client.c
index 8401359..d8346e4 100644
--- a/util/telnet-client.c
+++ b/util/telnet-client.c
@@ -202,7 +202,11 @@ int main(int argc, char **argv) {
tcsetattr(STDOUT_FILENO, TCSADRAIN, &tios);
/* set input echoing on by default */
+#if NANO_BTS_CLI_CLIENT
+ do_echo = 0;
+#else
do_echo = 1;
+#endif
/* initialize telnet box */
telnet = telnet_init(telopts, _event_handler, 0, &sock);