X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fopenvpn.c;h=9f386f0da865b893efbebee2edb15a592fcadb2d;hb=7658e9919a3ac9efafe4c7c2c76112ec67eeee3b;hp=a2f48236bbca9cf1c11b72276cc2558e1fe897d0;hpb=6667ac0ae4b48596df71998d38ef945b984102d3;p=collectd.git diff --git a/src/openvpn.c b/src/openvpn.c index a2f48236..9f386f0d 100644 --- a/src/openvpn.c +++ b/src/openvpn.c @@ -1,7 +1,7 @@ /** * collectd - src/openvpn.c * Copyright (C) 2008 Doug MacEachern - * Copyright (C) 2008 Florian octo Forster + * Copyright (C) 2009 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -75,7 +75,6 @@ static void openvpn_submit (char *name, counter_t rx, counter_t tx) vl.values = values; vl.values_len = STATIC_ARRAY_SIZE (values); - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "openvpn", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, name, sizeof (vl.plugin_instance)); @@ -93,7 +92,6 @@ static void compression_submit (char *type_instance, gauge_t ratio) vl.values = values; vl.values_len = STATIC_ARRAY_SIZE (values); - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "openvpn", sizeof (vl.plugin)); sstrncpy (vl.type, "compression_ratio", sizeof (vl.type));