From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 23 17:20:19 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6892A16A4CE for ; Sat, 23 Apr 2005 17:20:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32BDE43D3F for ; Sat, 23 Apr 2005 17:20:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3NHKJfV079622 for ; Sat, 23 Apr 2005 17:20:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3NHKIXH079621; Sat, 23 Apr 2005 17:20:18 GMT (envelope-from gnats) Date: Sat, 23 Apr 2005 17:20:18 GMT Message-Id: <200504231720.j3NHKIXH079621@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Keith White Subject: Re: kern/80266: IPX routing doesn't work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Keith White List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 17:20:19 -0000 The following reply was made to PR kern/80266; it has been noted by GNATS. From: Keith White To: Bruce Evans Cc: FreeBSD-gnats-submit@freebsd.org, bms@freebsd.org, rwatson@freebsd.org Subject: Re: kern/80266: IPX routing doesn't work Date: Sat, 23 Apr 2005 13:19:03 -0400 (EDT) On Sun, 24 Apr 2005, Bruce Evans wrote: > > The bug is that all (?) ipx structs were naturally packed, but this > was broken by adding a "u_int u_net;" to union ipx_net. > ... Indeed. If I try a fresh build of 5.4-RC3 with "union ipx_net" defined without "u_int u_net", both "IPXrouted" and "netstat -rnf ipx" work as expected. No additional "packed" attributes are required. Does the change to "src/sys/netipx/ipx.h" need to be reverted (again)? I don't use the mars_nwe port so don't know the ramifications there. Thanks for the hint! ...keith The following patch against 5.4-RC3 "works for me": --- usr/src/sys/netipx/ipx.h Mon Jan 31 18:26:42 2005 +++ /usr/src/sys/netipx/ipx.h Sat Apr 23 11:38:37 2005 @@ -108,7 +108,7 @@ union ipx_net { u_char c_net[4]; u_short s_net[2]; - u_int u_net; +/* u_int u_net; */ }; union ipx_net_u {