From 93171b004f7e118f115d123026d8a60a64c6cd0b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 3 Dec 2010 01:46:39 +0000 Subject: passive resolvon for listen sockets only git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@26 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tcp.h') diff --git a/src/tcp.h b/src/tcp.h index ce559ef..a81bd3a 100644 --- a/src/tcp.h +++ b/src/tcp.h @@ -40,6 +40,6 @@ typedef struct { } tcp_endpoint_t; char* tcp_endpoint_to_string(tcp_endpoint_t e); -struct addrinfo* tcp_resolve_endpoint(const char* addr, const char* port, resolv_type_t rt); +struct addrinfo* tcp_resolve_endpoint(const char* addr, const char* port, resolv_type_t rt, int passive); #endif -- cgit v1.2.3