diff options
-rw-r--r-- | gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ static void gre_cb(void) { int n; struct sockaddr_storage src; - size_t src_len = sizeof(src); + socklen_t src_len = sizeof(src); memset(&src, 0, src_len); n = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr*)&src, &src_len); |