Code

traffic plugin: Store the new `if_packets.rrd' and `if_errors.rrd' in a seperate...
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 9 Jul 2006 08:49:15 +0000 (10:49 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 9 Jul 2006 08:49:15 +0000 (10:49 +0200)
This makes it easier for user interfaces to know what host, and what a plugin
subdirectory is.

src/traffic.c

index 18a2063ff52c0a760aeecef323e871e65543f3f9..14b7dc32b1c6ac9ca33caab29466f5b2a16fd3c2 100644 (file)
@@ -74,8 +74,8 @@
  */
 /* TODO: Move this to `interface-%s/<blah>.rrd' in version 4. */
 static char *bytes_file   = "traffic-%s.rrd";
-static char *packets_file = "if_packets-%s.rrd";
-static char *errors_file  = "if_errors-%s.rrd";
+static char *packets_file = "interface-%s/if_packets.rrd";
+static char *errors_file  = "interface-%s/if_errors.rrd";
 /* TODO: Maybe implement multicast and broadcast counters */
 
 static char *config_keys[] =