Bugfix: $addr and $addrs couldn't find ip's before the first update.
[monky] / src / linux.c
index 74fceb3..c94caec 100644 (file)
@@ -310,7 +310,7 @@ void update_net_stats(void)
 
        /* get delta */
        delta = current_update_time - last_update_time;
-       if (delta <= 0.0001) {
+       if (delta <= 0.0001 && total_updates != 0) {
                return;
        }