OpenBSD is not affected by the "broken alpha headers" bug, too.

pull/281/head
German Service Network 2 years ago committed by David Schweikert
parent e8660637cc
commit 9d7731e7a0

@ -2090,7 +2090,7 @@ int decode_icmp_ipv4(
if (!using_sock_dgram4) {
struct ip *ip = (struct ip *)reply_buf;
#if defined(__alpha__) && __STDC__ && !defined(__GLIBC__) && !defined(__NetBSD__)
#if defined(__alpha__) && __STDC__ && !defined(__GLIBC__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
/* The alpha headers are decidedly broken.
* Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
* ip_v. So, to get ip_hl, we mask off the bottom four bits.

Loading…
Cancel
Save