From owner-freebsd-bugs Thu Jun 27 11: 0:26 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 92F0D37B40B for ; Thu, 27 Jun 2002 11:00:09 -0700 (PDT) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5RI09JU088507 for ; Thu, 27 Jun 2002 11:00:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5RI09KA088505; Thu, 27 Jun 2002 11:00:09 -0700 (PDT) Date: Thu, 27 Jun 2002 11:00:09 -0700 (PDT) Message-Id: <200206271800.g5RI09KA088505@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ian Dowse Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Reply-To: Ian Dowse Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/39896; it has been noted by GNATS. From: Ian Dowse To: "Crist J. Clark" Cc: FreeBSD-gnats-submit@FreeBSD.ORG, "Jin Guojun[DSD]" Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Date: Thu, 27 Jun 2002 18:59:01 +0100 In message <200206271730.g5RHU3PL084959@freefall.freebsd.org>, "Crist J. Clark" writes: > Sorry. Wrong cut-n-paste. I did use 0xffffff00 and it seemed to work > fine. When did you notice a change? src/sbin/mountd/mountd.c hasn't > changed since 4.4-RELEASE. I can't see anything that deals with > reading the netmask that has changed since 1998. The mask is actually > read with the inet_network(3) function, and I see no significant > changes in that for several years either. I'm not sure how this could have ever worked correctly, since inet_network(3) does not support hex addresses of this form. There are also no examples of it on the mountd man page. It is probably a bug that inet_network() is not a bit more picky about what it does accept though. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message