From 2b0cb61ce3b46a17c9145c4685997cb0d044c7be Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 9 Jul 2006 10:49:15 +0200 Subject: [PATCH] traffic plugin: Store the new `if_packets.rrd' and `if_errors.rrd' in a seperate subdirectory. This makes it easier for user interfaces to know what host, and what a plugin subdirectory is. --- src/traffic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traffic.c b/src/traffic.c index 18a2063f..14b7dc32 100644 --- a/src/traffic.c +++ b/src/traffic.c @@ -74,8 +74,8 @@ */ /* TODO: Move this to `interface-%s/.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[] = -- 2.30.2