diff options
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |