summaryrefslogtreecommitdiffstats
path: root/web/attachments/163415-diff-check_dns
blob: 1c1beb2ecdf4608c6dbcd5562754c2809592cd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
*** check_dns.c.orig    Sun Jan 15 10:30:55 2006
--- check_dns.c Sun Jan 15 10:55:07 2006
***************
*** 173,178 ****
--- 173,179 ----

        /* If we got here, we should have an address string,
                 and we can segfault if we do not */
+       strip(address);
        if (address==NULL || strlen(address)==0)
                die (STATE_CRITICAL,
                     _("DNS CRITICAL - '%s' output parsing exited with no address\n"),