diff options
Diffstat (limited to 'web/attachments/163415-diff-check_dns')
| -rw-r--r-- | web/attachments/163415-diff-check_dns | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/attachments/163415-diff-check_dns b/web/attachments/163415-diff-check_dns new file mode 100644 index 0000000..1c1beb2 --- /dev/null +++ b/web/attachments/163415-diff-check_dns | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | *** check_dns.c.orig Sun Jan 15 10:30:55 2006 | ||
| 2 | --- check_dns.c Sun Jan 15 10:55:07 2006 | ||
| 3 | *************** | ||
| 4 | *** 173,178 **** | ||
| 5 | --- 173,179 ---- | ||
| 6 | |||
| 7 | /* If we got here, we should have an address string, | ||
| 8 | and we can segfault if we do not */ | ||
| 9 | + strip(address); | ||
| 10 | if (address==NULL || strlen(address)==0) | ||
| 11 | die (STATE_CRITICAL, | ||
| 12 | _("DNS CRITICAL - '%s' output parsing exited with no address\n"), | ||
| 13 | |||
