Merge tag 'upstream/3.0.717'
[darkstat-debian] / hosts_sort.c
index d17a21f..b6f32dd 100644 (file)
@@ -34,8 +34,8 @@ cmp(const struct bucket * const *x, const struct bucket * const *y,
       b = (*y)->total;
       break;
    case LASTSEEN:
-      a = (*x)->u.host.lastseen;
-      b = (*y)->u.host.lastseen;
+      a = (*x)->u.host.last_seen_mono;
+      b = (*y)->u.host.last_seen_mono;
       break;
    default:
       errx(1, "cmp: unknown direction: %d", dir);