summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-17 14:33:43 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-17 14:33:43 +0200
commit92303d400ba83eaf150054d2cf5ce4906578bed0 (patch)
tree56f8baadfec029e5815bcb097115a0eca40f1720 /runtime/net.c
parentad6b933faf5dfa8f5502969e63eccc86d2af6662 (diff)
downloadrsyslog-92303d400ba83eaf150054d2cf5ce4906578bed0.tar.gz
rsyslog-92303d400ba83eaf150054d2cf5ce4906578bed0.tar.xz
rsyslog-92303d400ba83eaf150054d2cf5ce4906578bed0.zip
added new "netstrm" class (not yet implemented)
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