From owner-freebsd-ports Sun Feb 23 19:06:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA21220 for ports-outgoing; Sun, 23 Feb 1997 19:06:31 -0800 (PST) Received: from chizuru.yy.cs.keio.ac.jp (chizuru.yy.cs.keio.ac.jp [131.113.47.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA21202 for ; Sun, 23 Feb 1997 19:06:10 -0800 (PST) Received: from lavender.yy.cs.keio.ac.jp ([203.140.35.46]) by chizuru.yy.cs.keio.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id MAA03031 for ; Mon, 24 Feb 1997 12:06:04 +0900 (JST) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.7.6/3.5Wpl3) id MAA03834; Mon, 24 Feb 1997 12:05:27 +0900 (JST) Message-Id: <199702240305.MAA03834@lavender.yy.cs.keio.ac.jp> To: ports@FreeBSD.ORG Subject: Re: __FreeBSD_version In-Reply-To: Your message of "Thu, 20 Feb 1997 23:51:22 -0800 (PST)" References: <199702210751.XAA02773@silvia.HIP.Berkeley.EDU> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 24 Feb 1997 12:05:25 +0900 From: MIHIRA "Sanpei" Yoshiro Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freefall.freebsd.org id TAA21216 Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >However, I'm not sure what to do with the following three ports. In >each case, it is drawing a line between 199607 (2.1.5R) and 199608 >(2.2-current right after 2.1.5 is released), so the question is >whether it just meant "on the 2.1 branch" (at that time, of course it >was correct) or was it really fixed in 2.1.6R? > >(2) net/wide-dhcp (maintainer sanpei) > >=== >+#if __FreeBSD_version < 199608 >+ snd.ether->ether_type = ETHERTYPE_IP; >+#else > snd.ether->ether_type = htons(ETHERTYPE_IP); >+#endif >=== Hi. I'm wide-dhcp maintainer. This patch is for changes of if_ethersubr.c and if_ether.c at 1996/07/13. I think 199608 mean that changes on 2.2 branch(Yes, to tell the truth, 199608 mean "2.2-current before 2.1" :-<). Not changed in 2.1.6R. From: ports/net/wide-dhcp/patches/patch-ac CVS 1.3 log >Make this work on -current post this change: > > * davidg 96/06/12 19:54:21 > * > * Modified: sys/net if_ethersubr.c > * sys/netinet if_ether.c > * Log: > * Keep ether_type in network order for BPF to be consistent with other > * systems. >From : sys/net/if_ethersubr.c CVS 1.20 log >1.20 Thu Jun 13 2:54:03 1996 by davidg >Diffs to 1.19 > >Keep ether_type in network order for BPF to be consistent with other >systems. > >Submitted by: Ted Lemon, Matt Thomas, and others. Retrofitted for > -current by me. I have any good idea about this. Thank you. --- Yoshiro MIHIRA Keio Univ. Japan