aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Sebastian Herbszt <herbszt@gmx.de> 2014-12-08 23:21:54 +0100
committerGravatar Jan Wagner <waja@cyconet.org> 2014-12-15 17:44:13 +0100
commit193ea6b5d7388389eb2735260308380a22c50c68 (patch)
treeeef0dac657ea4ec4a9c7444d510763b835fc2afa /plugins
parent8235fd0aef2945e0d638fba3493134588d085d5a (diff)
downloadmonitoring-plugins-193ea6b5d7388389eb2735260308380a22c50c68.tar.gz
check_dns: remove dead code
Remove code dead since commit 4efa917. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dns.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 22121226..0316e407 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -81,7 +81,6 @@ main (int argc, char **argv)
double elapsed_time;
long microsec;
struct timeval tv;
- int multi_address;
int parse_address = FALSE; /* This flag scans for Address: but only after Name: */
output chld_out, chld_err;
size_t i;
@@ -249,11 +248,6 @@ main (int argc, char **argv)
elapsed_time = (double)microsec / 1.0e6;
if (result == STATE_OK) {
- if (strchr (address, ',') == NULL)
- multi_address = FALSE;
- else
- multi_address = TRUE;
-
result = get_status(elapsed_time, time_thresholds);
if (result == STATE_OK) {
printf ("DNS %s: ", _("OK"));