summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 52b4f664c..16d5f972c 100644
--- a/packet.c
+++ b/packet.c
@@ -304,7 +304,7 @@ packet_connection_is_ipv4(void)
304 if (to.ss_family == AF_INET) 304 if (to.ss_family == AF_INET)
305 return 1; 305 return 1;
306#ifdef IPV4_IN_IPV6 306#ifdef IPV4_IN_IPV6
307 if (to.ss_family == AF_INET6 && 307 if (to.ss_family == AF_INET6 &&
308 IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&to)->sin6_addr)) 308 IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&to)->sin6_addr))
309 return 1; 309 return 1;
310#endif 310#endif