summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--tools/rrdbot-create.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f4a1203..6732d4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
0.5
- Added SNMP version 2c support for rrdbot-get [Stoned Elipot]
- Fixed asynchronous resolving on FreeBSD
+ - Fix bug where rrdbot-create ignored '-c' argument [benj]
0.4
- Reduced memory usage of SNMP requests
diff --git a/tools/rrdbot-create.c b/tools/rrdbot-create.c
index aa2ae0b..22dbaa4 100644
--- a/tools/rrdbot-create.c
+++ b/tools/rrdbot-create.c
@@ -839,7 +839,7 @@ main(int argc, char* argv[])
/* Config directory */
case 'c':
- confdir = DEFAULT_CONFIG;
+ confdir = optarg;
break;
/* Only print commands */