From e5129d408c9563d40ca03da3818a5fed305d4c41 Mon Sep 17 00:00:00 2001 From: hibby Date: Fri, 24 Nov 2017 18:00:45 +0000 Subject: New upstream version 2.8 --- node.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'node.c') diff --git a/node.c b/node.c index 7ac8d50..8bf2bd8 100644 --- a/node.c +++ b/node.c @@ -9,7 +9,8 @@ #include #include #include - +//IPv6 +#include #include #include #include @@ -194,8 +195,8 @@ int main(int argc, char *argv[]) /* axio_flush(NodeIo); */ if(NodeIo!=NULL) axio_flush(NodeIo); - if (system("telnet 127.0.0.1 3694") < 0 ) { /* VE3TOK - 18Nov2014, return value */ - syslog(LOG_DEBUG, "Can't \"execute telnet 127.0.0.1 3694\""); + if (system("telnet localhost 3694") < 0 ) { /* VE3TOK - 18Nov2014, return value */ + syslog(LOG_DEBUG, "Can't \"execute telnet ::1 or 127.0.0.1 3694\""); return 1; } node_log(LOGLVL_ERROR,"Closing console telnet session.", -1); @@ -256,6 +257,7 @@ int main(int argc, char *argv[]) } if ((pw = read_perms(&User, saddr.sin.sin_addr.s_addr)) == NULL) { node_msg("Sorry, I'm not allowed to talk to you."); + axio_printf(NodeIo,"*** Password required! If you don't have a password please email\n%s for a password you wish to use.\n", Email); node_log(LOGLVL_LOGIN, "Login denied for %s @ %s", User.call, User.ul_name); node_logout("Login denied"); } -- cgit v1.2.3