Date: Fri, 26 Jul 2002 10:14:56 -0700 From: Alfred Perlstein <bright@mu.org> To: Bakul Shah <bakul@bitblocks.com> Cc: Ian Dowse <iedowse@maths.tcd.ie>, current@freebsd.org Subject: Re: mount_nfs -T breakage Message-ID: <20020726171456.GC76284@elvis.mu.org> In-Reply-To: <200207260613.CAA26408@glatton.cnchost.com> References: <200207260119.aa77821@salmon.maths.tcd.ie> <200207260613.CAA26408@glatton.cnchost.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Bakul Shah <bakul@bitblocks.com> [020725 23:14] wrote:
> > Yes, that code is very broken indeed. It probably was supposed to
> > call __rpc_setconf("udp") and not getnetconfigent("udp"), but that
> > seems to pick up an ipv6 address. I think the best plan is to go
> > back to the way that part of the code was before revision 1.10.
> >
> > Could you try the following patch?
>
> Thank you for the patch! Yes, it works. Right after I sent
> out my message I tried an almost identical patch which also
> worked but, as I said I don't understand this code, didn't
> have time to understand it and my patch seemed a bit hacky so
> I kept quiet. Actually this whole routine seems hacky -- why
> look up "udp" when you are told explicitly to use tcp? Oh
> well, I should keep quiet until I really understand it:-)
Ian, can you commit this fix?
-Alfred
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726171456.GC76284>
