diff options
| author | Dave Hibberd <d@vehibberd.com> | 2018-12-27 15:51:09 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2018-12-27 15:51:09 +0000 |
| commit | 15267df7ec4693494379dc9b4c4f1c2d66db78d9 (patch) | |
| tree | e0546a5a77cf59b524c68ec611d3fcf3bb46f473 /command.c | |
| parent | 534a7937e8e96ed60bec1028dd64cb1b2dfb8587 (diff) | |
| parent | b29219f467fd4f560171b7a9fcaf5af37634933e (diff) | |
Update upstream source from tag 'upstream/2.9'
Update to upstream version '2.9'
with Debian dir c9491c371267ee58d3f871588a3f2ee5ccee4715
Diffstat (limited to 'command.c')
| -rw-r--r-- | command.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,7 +33,7 @@ void init_nodecmds(void) add_internal_cmd(&Nodecmds, "Announce", 1, do_help); add_internal_cmd(&Nodecmds, "Bye", 1, do_bye); add_internal_cmd(&Nodecmds, "Escape", 1, do_escape); - if (User.ul_type == AF_INET) { + if (User.ul_type == AF_INET || (User.ul_type == AF_INET6)) { add_internal_cmd(&Nodecmds, "EXit", 1, do_bye); } add_internal_cmd(&Nodecmds, "Help", 1, do_help); @@ -99,10 +99,10 @@ void node_prompt(const char *fmt, ...) axio_printf(NodeIo,"\r\e[01;35m-=>\e[0m \b"); } if ((User.ul_type ==AF_INET6) && (check_perms(PERM_ANSI, 0L) == -1)) { - axio_printf(NodeIo, "\n%s@%s-IPv6: ",User.call, HostName); + axio_printf(NodeIo, "\r\n%s@%s:/uronode6: ",User.call, HostName); } if ((User.ul_type ==AF_INET6) && (check_perms(PERM_ANSI, 0L) != -1)) { - axio_printf(NodeIo, "\n\e[01;34m%s\e[0m@\e[01;31m%s\e[0m-\e[01;33mIPv6\e[0m: ",User.call, HostName); + axio_printf(NodeIo, "\r\n\e[01;34m%s\e[0m@\e[01;31m%s:/\e[0m\e[01;33muronode6\e[0m: ",User.call, HostName); } /* axio_flush(NodeIo); */ } @@ -884,7 +884,7 @@ int do_status(int argc, char **argv) } free_flex_dst(fd_list); - axio_printf(NodeIo,"Sockets: Sessions Dest/Nodes Links/Routes\n"); + axio_printf(NodeIo,"Sockets: Sessions Dest/Nodes Links/Routes\n"); axio_printf(NodeIo,"------------------ ---------- ---------- ------------\n"); axio_printf(NodeIo,"AX25: %-10d %-10d %-10d\n",na,nd,nl); #ifdef HAVE_NETROM |
