From 92269e49c439d44bb3b525cc86f3a6f60cae7ed9 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 14 Sep 2000 14:42:04 +0000 Subject: Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time. Requested by: wollman --- sys/netinet6/ah_input.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netinet6') 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 } -- cgit v1.1