From 002738e77ae6149c43a3d55b9364d365e1483578 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 11 Nov 2010 16:38:05 +0000 Subject: Don't force connections to come from same source port. Also allow address reuse for connections in time wait state. --- common/sock_any.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/sock_any.h') diff --git a/common/sock_any.h b/common/sock_any.h index 9282e36..c8fe63f 100644 --- a/common/sock_any.h +++ b/common/sock_any.h @@ -87,4 +87,6 @@ int sock_any_ntop(const struct sockaddr_any* any, char* addr, size_t addrlen, in int sock_any_cmp(const struct sockaddr_any* a1, const struct sockaddr_any* a2, int opts); +void sock_any_cpy(struct sockaddr_any* src, const struct sockaddr_any* dst, int opts); + #endif /* __SOCK_ANY_H__ */ -- cgit v1.2.3