From 9d7731e7a016641a093712b0a32f17c8eef39620 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Sun, 28 May 2023 21:03:22 +0200 Subject: [PATCH] OpenBSD is not affected by the "broken alpha headers" bug, too. --- src/fping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fping.c b/src/fping.c index 5d23f461..f4dcdcdb 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.