X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftop.c;h=ab1461957a2c9667c3b76bd68bbd53f8620f09fc;hb=7b55200887d05c29abb8cea31aa914e03b806e9a;hp=792f22402074c61a4f09a50de9123ceacade6f10;hpb=f6e87ab476a0faf8b124ecaaa27f967d825e6457;p=tinc diff --git a/src/top.c b/src/top.c index 792f2240..ab146195 100644 --- a/src/top.c +++ b/src/top.c @@ -239,7 +239,7 @@ static int sortfunc(const void *a, const void *b) { static void redraw(void) { erase(); - mvprintw(0, 0, "Tinc %-16s Nodes: %4d Sort: %-10s %s", netname ? : "", node_list.count, sortname[sortmode], cumulative ? "Cumulative" : "Current"); + mvprintw(0, 0, "Tinc %-16s Nodes: %4d Sort: %-10s %s", netname ? netname : "", node_list.count, sortname[sortmode], cumulative ? "Cumulative" : "Current"); attrset(A_REVERSE); mvprintw(2, 0, "Node IN %s IN %s OUT %s OUT %s", punit, bunit, punit, bunit); chgat(-1, A_REVERSE, 0, NULL);