summaryrefslogtreecommitdiff
path: root/src/libcharon/network/socket_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/network/socket_manager.c')
-rw-r--r--src/libcharon/network/socket_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/network/socket_manager.c b/src/libcharon/network/socket_manager.c
index 2a07e503c..564608d77 100644
--- a/src/libcharon/network/socket_manager.c
+++ b/src/libcharon/network/socket_manager.c
@@ -89,10 +89,10 @@ METHOD(socket_manager_t, sender, status_t,
return status;
}
-METHOD(socket_manager_t, get_port, u_int16_t,
+METHOD(socket_manager_t, get_port, uint16_t,
private_socket_manager_t *this, bool nat_t)
{
- u_int16_t port = 0;
+ uint16_t port = 0;
this->lock->read_lock(this->lock);
if (this->socket)
{