diff options
Diffstat (limited to 'main/openvpn/src/openvpn/ps.c')
-rw-r--r-- | main/openvpn/src/openvpn/ps.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/main/openvpn/src/openvpn/ps.c b/main/openvpn/src/openvpn/ps.c index 6807aac0..fe18a9df 100644 --- a/main/openvpn/src/openvpn/ps.c +++ b/main/openvpn/src/openvpn/ps.c @@ -372,17 +372,6 @@ proxy_list_close (struct proxy_connection **list) } } -static void -sock_addr_set (struct openvpn_sockaddr *osaddr, - const in_addr_t addr, - const int port) -{ - CLEAR (*osaddr); - osaddr->addr.in4.sin_family = AF_INET; - osaddr->addr.in4.sin_addr.s_addr = htonl (addr); - osaddr->addr.in4.sin_port = htons (port); -} - static inline void proxy_connection_io_requeue (struct proxy_connection *pc, const int rwflags_new, struct event_set *es) { |