From e707f3680e679cdfcf8ff21b15e42ec273189f31 Mon Sep 17 00:00:00 2001 From: hibby Date: Sat, 20 Jan 2018 11:59:47 +0000 Subject: New upstream version 2.8.1 --- router.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'router.c') diff --git a/router.c b/router.c index ccc522c..ea36d28 100644 --- a/router.c +++ b/router.c @@ -202,10 +202,17 @@ int do_dest(int argc, char **argv) } for (p=fdst;p!=NULL;p=p->next) { sprintf(ssid, "%d-%d", p->ssida, p->sside); - axio_printf(NodeIo,"%-7s %-5s %4ld%s",p->dest_call,ssid,p->rtt,(++i % 4) ? " " : "\n"); + axio_printf(NodeIo,"%-7s %-5s %4ld%c",p->dest_call,ssid,p->rtt,(++i % 4) ? ' ' : '\n'); } - if ((i % 4) != 0) axio_printf(NodeIo,""); - free_flex_dst(fdst); + if ((User.ul_type == AF_NETROM) && (i % 4) == 0) { + node_msg(""); + } + if ((User.ul_type == AF_NETROM) && (i % 4) != 0) { + node_msg(""); + } else + if ((User.ul_type != AF_NETROM) && (i % 4) == 0) { + } + free_flex_dst(fdst); // if (User.ul_type == AF_NETROM) { // node_msg(""); // } -- cgit v1.2.3