summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37676c3)
raw | patch | inline | side by side (parent: 37676c3)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 1 May 2010 08:12:43 +0000 (10:12 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 1 May 2010 08:12:43 +0000 (10:12 +0200) |
src/routeros.c | patch | blob | history |
diff --git a/src/routeros.c b/src/routeros.c
index a020692e4b1b5a1a26dd906a42fc2050fac4c96d..ff8789ed4a365692d2f9a928a4c0b191738fd20b 100644 (file)
--- a/src/routeros.c
+++ b/src/routeros.c
vl.values = values;
vl.values_len = STATIC_ARRAY_SIZE (values);
- sstrncpy (vl.host, rd->node, sizeof (vl.host)); /* FIXME */
+ sstrncpy (vl.host, rd->node, sizeof (vl.host));
sstrncpy (vl.plugin, "routeros", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
return (0);
} /* }}} int handle_regtable */
-#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0) /* FIXME */
+#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0)
static int handle_system_resource (__attribute__((unused)) ros_connection_t *c, /* {{{ */
const ros_system_resource_t *r,
__attribute__((unused)) void *user_data)
}
}
-#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0) /* FIXME */
+#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0)
if (rd->collect_cpu_load
|| rd->collect_memory
|| rd->collect_df
cf_util_get_boolean (child, &router_data->collect_interface);
else if (strcasecmp ("CollectRegistrationTable", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_regtable);
-#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0) /* FIXME */
+#if ROS_VERSION >= ROS_VERSION_ENCODE(1, 1, 0)
else if (strcasecmp ("CollectCPULoad", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_cpu_load);
else if (strcasecmp ("CollectMemory", child->key) == 0)