Date: Tue, 17 Apr 2001 17:28:37 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mountd mountd.c Message-ID: <200104180028.f3I0Sbd71120@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104180028.f3I0Sbd71120>
