diff --git a/ChangeLog b/ChangeLog index 16a16023..14650e6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4371,6 +4371,7 @@ v0.33.19 26-Oct-2001 mbout: Fixes for Sparc systems. + The node query now displays the system open times (Txx) flags. mbtask: Changed to handle the External Doors flag in the lastcaller diff --git a/mbcico/nlinfo.c b/mbcico/nlinfo.c index cc882a8e..d66ab830 100644 --- a/mbcico/nlinfo.c +++ b/mbcico/nlinfo.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbcico/nlinfo.c - * Purpose ...............: MBSE BBS Outbound Manager - * Last modification date : 18-Dec-1999 + * $Id$ + * Purpose ...............: MBSE BBS Outbound Manager - show node info * ***************************************************************************** - * Copyright (C) 1997-1999 + * Copyright (C) 1997-2001 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -40,7 +39,7 @@ int nlinfo(faddr *addr) { node *nlent; - int i; + int i, t; char flagbuf[256]; if (addr == NULL) @@ -115,6 +114,21 @@ int nlinfo(faddr *addr) if (nlent->pflag & 0x20) printf(" TCP/IP"); printf("\n"); + if (nlent->t1) { + printf("System open : "); + t = toupper(nlent->t1); + printf("%02d:", t - 65); + if (isupper(nlent->t1)) + printf("00 - "); + else + printf("30 - "); + t = toupper(nlent->t2); + printf("%02d:", t - 65); + if (isupper(nlent->t2)) + printf("00\n"); + else + printf("30\n"); + } printf("Uplink : %u/%u\n", nlent->upnet, nlent->upnode); printf("Region : %u\n", nlent->region); }