Skip to content

Commit

Permalink
OpenBSD is not affected by the "broken alpha headers" bug, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnw-sebast authored and schweikert committed Aug 27, 2023
1 parent e866063 commit 9d7731e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9d7731e

Please sign in to comment.