Use 16 bit variable to store more fragment flag. This avoids loss
authorbluhm <bluhm@openbsd.org>
Thu, 4 Aug 2022 18:05:09 +0000 (18:05 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 4 Aug 2022 18:05:09 +0000 (18:05 +0000)
commitdc2bd884f89305db87a5f674bafe3ad6ea416a6e
tree4f9cf36719b54d0320c9e3d501a66de9cc1252da
parent5bdb5d3d2982ba8c958f901c0dc58a74ba935bed
Use 16 bit variable to store more fragment flag.  This avoids loss
of significant bits on big endian machines.  Bug has been introduced
in previous commit by removing the =! 0 check.
OK mvs@
sys/netinet/ip_input.c
sys/netinet/ip_var.h