diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-11-30 20:17:47 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-12-13 16:46:01 +0100 |
commit | e99982218b5549894a94cc3c5f6209219d911ba1 (patch) | |
tree | d114ec1dc5247e45f919d54229527771a829b526 /src/openvpn/socket.c | |
parent | 5541ea21691b5b39adc4bd3e1ff1af86a050c71d (diff) | |
download | openvpn-e99982218b5549894a94cc3c5f6209219d911ba1.tar.gz openvpn-e99982218b5549894a94cc3c5f6209219d911ba1.tar.xz openvpn-e99982218b5549894a94cc3c5f6209219d911ba1.zip |
Remove dnsflags_to_socktype, it is not used anywhere
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1354303076-13606-1-git-send-email-arne@rfc2549.org
URL: http://article.gmane.org/gmane.network.openvpn.devel/7160
Signed-off-by: David Sommerseth <davids@redhat.com>
(cherry picked from commit 740137f6bb7b3565054c3a8e894ceca93f2ff0e4)
Diffstat (limited to 'src/openvpn/socket.c')
-rw-r--r-- | src/openvpn/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 505cf3b..21a4b2b 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -158,7 +158,7 @@ openvpn_getaddrinfo (unsigned int flags, CLEAR(hints); hints.ai_family = ai_family; hints.ai_flags = AI_NUMERICHOST; - hints.ai_socktype = dnsflags_to_socktype(flags); + hints.ai_socktype = SOCK_STREAM; status = getaddrinfo(hostname, NULL, &hints, res); |