mapped addresses; bz #1179 reported by markw wtech-llc.com;
ok dtucker@
+20060418
+ - (djm) Reorder IP options check so that it isn't broken by
+ mapped addresses; bz #1179 reported by markw wtech-llc.com;
+ ok dtucker@
+
20060331
- OpenBSD CVS Sync
- deraadt@cvs.openbsd.org 2006/03/27 01:21:18
cleanup_exit(255);
}
+ if (from.ss_family == AF_INET)
+ check_ip_options(sock, ntop);
+
ipv64_normalise_mapped(&from, &fromlen);
if (from.ss_family == AF_INET6)
NULL, 0, NI_NUMERICHOST) != 0)
fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed");
- if (from.ss_family == AF_INET)
- check_ip_options(sock, ntop);
-
if (!use_dns)
return xstrdup(ntop);