diff options
author | ru <ru@FreeBSD.org> | 2000-09-14 14:42:04 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-09-14 14:42:04 +0000 |
commit | 92269e49c439d44bb3b525cc86f3a6f60cae7ed9 (patch) | |
tree | 2dfe0c58d20b6967465953a458c9b0f221773ac8 /sys/netinet6 | |
parent | fa323bab500d3be5a6e06a3d4ef11da85244efbe (diff) | |
download | FreeBSD-src-92269e49c439d44bb3b525cc86f3a6f60cae7ed9.zip FreeBSD-src-92269e49c439d44bb3b525cc86f3a6f60cae7ed9.tar.gz |
Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time.
Requested by: wollman
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ah_input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/ah_input.c b/sys/netinet6/ah_input.c index c50f72b..1aaa0c4 100644 --- a/sys/netinet6/ah_input.c +++ b/sys/netinet6/ah_input.c @@ -291,7 +291,6 @@ ah4_input(m, va_alist) * convert them back to network endian. VERY stupid. */ ip->ip_len = htons(ip->ip_len + hlen); - ip->ip_id = htons(ip->ip_id); ip->ip_off = htons(ip->ip_off); #endif if (ah4_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) { @@ -305,7 +304,6 @@ ah4_input(m, va_alist) * flip them back. */ ip->ip_len = ntohs(ip->ip_len) - hlen; - ip->ip_id = ntohs(ip->ip_id); ip->ip_off = ntohs(ip->ip_off); #endif } |