diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | packet.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 | ||
6 | 20120224 | 8 | 20120224 |
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 |
@@ -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)) |