summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-28 09:24:05 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-28 09:24:05 +0200
commit434e404a6c7181a2b7efa9840506e8963665bdd6 (patch)
treee332d2a95705cd4db5e7333a749c218735e2c2e7 /runtime/net.c
parent898d69037de106be8f5b14093daee409f8f7a88f (diff)
parent858f1efd05a2f3c8bc6a0edf8a01f40e27f02407 (diff)
downloadrsyslog-434e404a6c7181a2b7efa9840506e8963665bdd6.tar.gz
rsyslog-434e404a6c7181a2b7efa9840506e8963665bdd6.tar.xz
rsyslog-434e404a6c7181a2b7efa9840506e8963665bdd6.zip
Merge branch 'klogd-bug'
Diffstat (limited to 'runtime/net.c')
-rw-r--r--runtime/net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 0c02eed4..1d085290 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -666,7 +666,6 @@ gethname(struct sockaddr_storage *f, uchar *pszHostFQDN)
if (error == 0) {
memset (&hints, 0, sizeof (struct addrinfo));
hints.ai_flags = AI_NUMERICHOST;
- hints.ai_socktype = SOCK_DGRAM;
/* we now do a lookup once again. This one should fail,
* because we should not have obtained a non-numeric address. If