Ticket #46294: patch-ntpd-ntp_io.c-fix-build-failure.diff
File patch-ntpd-ntp_io.c-fix-build-failure.diff, 814 bytes (added by neverpanic (Clemens Lang), 10 years ago) |
---|
-
ntpd/ntp_io.c
old new 3454 3454 if (AF_INET6 == itf->family) { 3455 3455 DPRINTF(1, ("Got an IPv6 packet, from <%s> (%d) to <%s> (%d)\n", 3456 3456 stoa(&rb->recv_srcadr), 3457 IN6_IS_ADDR_LOOPBACK(& (rb->recv_srcadr.sa6.sin6_addr)),3457 IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr), 3458 3458 stoa(&itf->sin), 3459 !IN6_IS_ADDR_LOOPBACK(& (itf->sin.sa6.sin6_addr))3459 !IN6_IS_ADDR_LOOPBACK(&itf->sin) 3460 3460 )); 3461 3461 } 3462 3462 3463 3463 if ( AF_INET6 == itf->family 3464 && IN6_IS_ADDR_LOOPBACK(& (rb->recv_srcadr.sa6.sin6_addr))3465 && !IN6_IS_ADDR_LOOPBACK(& (itf->sin.sa6.sin6_addr))3464 && IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr) 3465 && !IN6_IS_ADDR_LOOPBACK(&itf->sin) 3466 3466 ) { 3467 3467 packets_dropped++; 3468 3468 DPRINTF(1, ("DROPPING that packet\n"));