summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--packet.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 97b39aaac..03c2674f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
2 - (djm) [openbsd-compat/port-linux.c] bz#1960: fix crash on SELinux 2 - (djm) [openbsd-compat/port-linux.c] bz#1960: fix crash on SELinux
3 systems where sshd is run in te wrong context. Patch from Sven 3 systems where sshd is run in te wrong context. Patch from Sven
4 Vermeulen; ok dtucker@ 4 Vermeulen; ok dtucker@
5 - (djm) [packet.c] bz#1963: Fix IPQoS not being set on non-mapped v4-in-v6
6 addressed connections. ok dtucker@
5 7
620120224 820120224
7 - (dtucker) [audit-bsm.c configure.ac] bug #1968: enable workarounds for BSM 9 - (dtucker) [audit-bsm.c configure.ac] bug #1968: enable workarounds for BSM
diff --git a/packet.c b/packet.c
index 2f85232a6..d0c66fe57 100644
--- a/packet.c
+++ b/packet.c
@@ -432,8 +432,6 @@ packet_connection_af(void)
432 if (getsockname(active_state->connection_out, (struct sockaddr *)&to, 432 if (getsockname(active_state->connection_out, (struct sockaddr *)&to,
433 &tolen) < 0) 433 &tolen) < 0)
434 return 0; 434 return 0;
435 if (to.ss_family == AF_INET)
436 return 1;
437#ifdef IPV4_IN_IPV6 435#ifdef IPV4_IN_IPV6
438 if (to.ss_family == AF_INET6 && 436 if (to.ss_family == AF_INET6 &&
439 IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&to)->sin6_addr)) 437 IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&to)->sin6_addr))