+ printf("Node ID: %s\n", id);
+ printf("Address: %s port %s\n", host, port);
+
+ char timestr[32] = "never";
+ time_t lsc_time = last_state_change;
+
+ if(last_state_change) {
+ strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S", localtime(&lsc_time));
+ }
+
+ status = status_union.bits;
+
+ if(status.reachable) {
+ printf("Online since: %s\n", timestr);
+ } else {
+ printf("Last seen: %s\n", timestr);
+ }
+