summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-18 11:49:51 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-18 11:49:51 +0200
commit961f2956e86c1dc4442ccbeb3951855e85a0b08d (patch)
treedd1db48602d1c145d1fd28a9d8482285a6564b87 /runtime/net.c
parenta6a9148586df7bba12cbc0bc236605f83640932f (diff)
parent1daf8d492f932739b6fcde732812116c7666b2bc (diff)
downloadrsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.tar.gz
rsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.tar.bz2
rsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.zip
Merge branch 'sock-abstract' into tls
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