summaryrefslogtreecommitdiff
path: root/mndp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mndp.c')
-rw-r--r--mndp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mndp.c b/mndp.c
index b229d3b..e8ba8e3 100644
--- a/mndp.c
+++ b/mndp.c
@@ -109,7 +109,10 @@ int mndp(void) {
printf(" (%s %s %s)", packet->platform, packet->version, packet->hardware);
}
if (packet->uptime > 0) {
- printf(_(" up %d days %d hours"), packet->uptime / 86400, packet->uptime % 86400 / 3600);
+ printf(_(" up %d days %d hours"), packet->uptime / 86400, packet->uptime % 86400 / 3600);
+ }
+ if (packet->softid != NULL) {
+ printf(" %s", packet->softid);
}
putchar('\n');
}