summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78e364e)
raw | patch | inline | side by side (parent: 78e364e)
author | octo <octo> | |
Thu, 25 May 2006 11:56:38 +0000 (11:56 +0000) | ||
committer | octo <octo> | |
Thu, 25 May 2006 11:56:38 +0000 (11:56 +0000) |
src/traffic.c | patch | blob | history |
diff --git a/src/traffic.c b/src/traffic.c
index 5fdcb5dfd64f3afd0bc28afc1b79c33b7ec4ae09..c7f71103852ee73421668dcfc3d3fff683085290 100644 (file)
--- a/src/traffic.c
+++ b/src/traffic.c
plugin_submit (MODULE_NAME, dev, buf);
}
-#if HAVE_GETIFADDRS || HAVE_LIBKSTAT
+#if HAVE_GETIFADDRS || KERNEL_LINUX || HAVE_LIBKSTAT
static void packets_submit (char *dev,
unsigned long long rx,
unsigned long long tx)
return;
plugin_submit ("if_errors", dev, buf);
}
-#endif /* HAVE_GETIFADDRS || HAVE_LIBKSTAT */
+#endif /* HAVE_GETIFADDRS || KERNEL_LINUX || HAVE_LIBKSTAT */
static void traffic_read (void)
{