summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/config.c4
-rw-r--r--daemon/rrd-update.c4
-rw-r--r--daemon/rrdbotd.c15
-rw-r--r--daemon/rrdbotd.h4
-rw-r--r--daemon/snmp-engine.c4
5 files changed, 17 insertions, 14 deletions
diff --git a/daemon/config.c b/daemon/config.c
index 49f8e0f..1bf0e4b 100644
--- a/daemon/config.c
+++ b/daemon/config.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Nate Nielsen
+ * Copyright (c) 2005, Stefan Walter
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
*
*
* CONTRIBUTORS
- * Nate Nielsen <nielsen@memberwebs.com>
+ * Stef Walter <stef@memberwebs.com>
*
*/
diff --git a/daemon/rrd-update.c b/daemon/rrd-update.c
index f052c31..7b43430 100644
--- a/daemon/rrd-update.c
+++ b/daemon/rrd-update.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Nate Nielsen
+ * Copyright (c) 2005, Stefan Walter
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
*
*
* CONTRIBUTORS
- * Nate Nielsen <nielsen@memberwebs.com>
+ * Stef Walter <stef@memberwebs.com>
*
*/
diff --git a/daemon/rrdbotd.c b/daemon/rrdbotd.c
index c74648d..5b447a3 100644
--- a/daemon/rrdbotd.c
+++ b/daemon/rrdbotd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Nate Nielsen
+ * Copyright (c) 2005, Stefan Walter
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
*
*
* CONTRIBUTORS
- * Nate Nielsen <nielsen@memberwebs.com>
+ * Stef Walter <stef@memberwebs.com>
*
*/
@@ -312,10 +312,6 @@ main(int argc, char* argv[])
/* The mainloop server */
server_init();
- /* Setup the Async DNS resolver */
- if(async_resolver_init() < 0)
- err(1, "couldn't initialize resolver");
-
/* Parse config and setup SNMP system */
rb_config_parse();
@@ -335,6 +331,13 @@ main(int argc, char* argv[])
daemonized = 1;
}
+ /* Setup the Async DNS resolver */
+ if(async_resolver_init() < 0)
+ {
+ rb_message(LOG_ERR, "couldn't initialize resolver");
+ /* Allow things to proceed without resolver */
+ }
+
/* Handle signals */
signal(SIGPIPE, SIG_IGN);
signal(SIGHUP, SIG_IGN);
diff --git a/daemon/rrdbotd.h b/daemon/rrdbotd.h
index 70e09fa..cfc8cb2 100644
--- a/daemon/rrdbotd.h
+++ b/daemon/rrdbotd.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, Nate Nielsen
+ * Copyright (c) 2004, Stef Walter
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
*
*
* CONTRIBUTORS
- * Nate Nielsen <nielsen@memberwebs.com>
+ * Stef Walter <stef@memberwebs.com>
*
*/
diff --git a/daemon/snmp-engine.c b/daemon/snmp-engine.c
index 65bc1de..8cae2b7 100644
--- a/daemon/snmp-engine.c
+++ b/daemon/snmp-engine.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Nate Nielsen
+ * Copyright (c) 2005, Stefan Walter
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
*
*
* CONTRIBUTORS
- * Nate Nielsen <nielsen@memberwebs.com>
+ * Stef Walter <stef@memberwebs.com>
*
*/