summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-12-09 02:38:42 +0000
committerStef Walter <stef@memberwebs.com>2006-12-09 02:38:42 +0000
commit2ba8cd814f0de8bc8cb18d5add9fa35c88fb9330 (patch)
tree6e67a2deeaf99fc2b1269bc932583e9f67a2a9e6
parent9baf328de072e798a59d4b4d9a84ac6fd43ec6d7 (diff)
- Fix bug where rrdbot-create ignored '-c' argument [benj]
-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 */