Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / interface.c
index 7512c4e..520f4c8 100644 (file)
@@ -158,7 +158,6 @@ static void if_submit (const char *dev, const char *type,
 
        vl.values = values;
        vl.values_len = 2;
-       vl.time = time (NULL);
        sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "interface", sizeof (vl.plugin));
        sstrncpy (vl.type, type, sizeof (vl.type));