diff --git a/src/interface.c b/src/interface.c
index 741ff764bd576f4ee45f5ea2d5ffb0cea14c8477..6edecc4d62991d8c02a984c74cc40dd4e14ad6cc 100644 (file)
--- a/src/interface.c
+++ b/src/interface.c
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "interface");
+ strncpy (vl.type, type, sizeof (vl.type));
strncpy (vl.type_instance, dev, sizeof (vl.type_instance));
- plugin_dispatch_values (type, &vl);
+ plugin_dispatch_values (&vl);
} /* void if_submit */
static int interface_read (void)