From owner-cvs-all Tue Apr 17 17:28:41 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0192C37B42C; Tue, 17 Apr 2001 17:28:38 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3I0Sbd71120; Tue, 17 Apr 2001 17:28:37 -0700 (PDT) (envelope-from iedowse) Message-Id: <200104180028.f3I0Sbd71120@freefall.freebsd.org> From: Ian Dowse Date: Tue, 17 Apr 2001 17:28:37 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mountd mountd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iedowse 2001/04/17 17:28:37 PDT Modified files: sbin/mountd mountd.c Log: A few more mountd cleanups: - Remove some horrible code that faked a "struct addrinfo" to be later passed to freeaddrinfo(). Instead, add a new group type "GT_DEFAULT" used to denote that the filesystem is exported to the world, and treat this case separately. - Don't clear the AI_CANONNAME flag in a struct addrinfo returned by getaddrinfo. There's still a bit more struct addrinfo abuse left in here. - Simplify do_mount() slightly by using an addrinfo pointer to keep track of the current address. Revision Changes Path 1.46 +18 -38 src/sbin/mountd/mountd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message