summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-02-09 15:12:36 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-02-09 15:12:36 +0100
commit2fdf3bec3bdc2ec79c114d6bcbdc702064d377cd (patch)
tree8351d6a8cc472981412f9800295e17f8bf01f200 /runtime/net.c
parent6221990bce767a63eb35b19b581bf30a9060fc90 (diff)
downloadrsyslog-2fdf3bec3bdc2ec79c114d6bcbdc702064d377cd.tar.gz
rsyslog-2fdf3bec3bdc2ec79c114d6bcbdc702064d377cd.tar.bz2
rsyslog-2fdf3bec3bdc2ec79c114d6bcbdc702064d377cd.zip
dns cache: working on invalid resolution bug, again
the proposed solution did not work out well...
Diffstat (limited to 'runtime/net.c')
-rw-r--r--runtime/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/net.c b/runtime/net.c
index e1e25df8..4631adc4 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -1130,7 +1130,7 @@ rsRetVal cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN
iRet = dnscacheLookup(f, pszHostFQDN, pszIP);
- if(iRet == RS_RET_INVALID_SOURCE || iRet == RS_RET_ADDRESS_UNKNOWN) {
+ if(iRet == RS_RET_INVALID_SOURCE) {
strcpy((char*) pszHost, (char*) pszHostFQDN); /* we use whatever was provided as replacement */
ABORT_FINALIZE(RS_RET_OK); /* this is handled, we are happy with it */
} else if(iRet != RS_RET_OK) {