diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-02-08 15:12:44 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-02-08 15:12:44 +0100 |
commit | 6221990bce767a63eb35b19b581bf30a9060fc90 (patch) | |
tree | 74416284200dd1d472c8677a325e726f73544d39 | |
parent | 3a2b3c7699f93dececde9fef1f87f31dc22524fa (diff) | |
download | rsyslog-6221990bce767a63eb35b19b581bf30a9060fc90.tar.gz rsyslog-6221990bce767a63eb35b19b581bf30a9060fc90.tar.xz rsyslog-6221990bce767a63eb35b19b581bf30a9060fc90.zip |
dns cache: experimental fix for name resulution problem
-rw-r--r-- | runtime/dnscache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dnscache.c b/runtime/dnscache.c index 549bcd93..8ce1a43b 100644 --- a/runtime/dnscache.c +++ b/runtime/dnscache.c @@ -344,7 +344,7 @@ dbgprintf("XXXX: hostn '%s', ip '%s'\n", etry->pszHostFQDN, etry->ip); finalize_it: pthread_rwlock_unlock(&dnsCache.rwlock); - if(iRet != RS_RET_OK) { + if(iRet != RS_RET_OK && iRet != RS_RET_ADDRESS_UNKNOWN) { DBGPRINTF("dnscacheLookup failed with iRet %d\n", iRet); strcpy((char*) pszHostFQDN, "???"); strcpy((char*) ip, "???"); |