From: German Service Network Date: Sun, 28 May 2023 19:03:22 +0000 (+0200) Subject: OpenBSD is not affected by the "broken alpha headers" bug, too. X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d7731e7a016641a093712b0a32f17c8eef39620;p=fping.git OpenBSD is not affected by the "broken alpha headers" bug, too. --- diff --git a/src/fping.c b/src/fping.c index 5d23f46..f4dcdcd 100644 --- a/src/fping.c +++ b/src/fping.c @@ -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.