summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-05-26 23:38:05 +0200
committerArne Schwabe <arne@rfc2549.org>2013-05-26 23:38:05 +0200
commit9bcacd9c604ed07d78624690d2cdc2213e067db5 (patch)
tree73ff9b9d7a296452934c6fe71f7919187aa55108
parentfb30271e5f6b5d11f2145ec22a39fd068e4b6e4e (diff)
compile fixes
-rw-r--r--openvpn/src/openvpn/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn/src/openvpn/socket.c b/openvpn/src/openvpn/socket.c
index af790630..548ea72c 100644
--- a/openvpn/src/openvpn/socket.c
+++ b/openvpn/src/openvpn/socket.c
@@ -695,7 +695,7 @@ create_socket (struct link_socket *sock)
}
#ifdef TARGET_ANDROID
-static void protect_fd_nonlocal (int fd, struct sockaddr* addr)
+static void protect_fd_nonlocal (int fd, const struct sockaddr* addr)
{
/* pass socket FD to management interface to pass on to VPNService API
* as "protected socket" (exempt from being routed into tunnel)