Subject: re: IP_HDRINCL send on little-endian machine causes kernel panic
To: None <tech-kern@NetBSD.ORG>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: tech-kern
Date: 07/22/1996 16:46:11
[[explanation of IP_HDRINCL lossage]
Oops. A stylistically more correct fix is of course to use NTOHS(),
just like ip_input()...
NTOHS(ip->ip_id);
NTOHS(ip->ip_off);