summaryrefslogtreecommitdiff
path: root/src/ipcpd/udp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/udp/main.c')
-rw-r--r--src/ipcpd/udp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c
index 1a7725c1..c47f6484 100644
--- a/src/ipcpd/udp/main.c
+++ b/src/ipcpd/udp/main.c
@@ -592,9 +592,9 @@ static void * ipcp_udp_packet_writer(void * o)
}
static const char * inet4_ntop(const void * addr,
- char * buf)
+ char * buf)
{
- return inet_ntop(AF_INET, &addr, buf, INET_ADDRSTRLEN);
+ return inet_ntop(AF_INET, addr, buf, INET_ADDRSTRLEN);
}
static int ipcp_udp_bootstrap(const struct ipcp_config * conf)