diff --git a/src/serial.c b/src/serial.c
index 9cfe1dd471b6ee1e195781617512a4ee16dd5d05..fb30fc4e7e01e2ea9b4408759cd58fa3b2ec9fcf 100644 (file)
--- a/src/serial.c
+++ b/src/serial.c
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "serial");
+ strcpy (vl.type, "serial_octets");
strncpy (vl.type_instance, type_instance,
sizeof (vl.type_instance));
- plugin_dispatch_values ("serial_octets", &vl);
+ plugin_dispatch_values (&vl);
}
static int serial_read (void)