Date: Thu, 25 Jul 2002 23:13:49 -0700 From: Bakul Shah <bakul@bitblocks.com> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: current@freebsd.org Subject: Re: mount_nfs -T breakage Message-ID: <200207260613.CAA26408@glatton.cnchost.com> In-Reply-To: Your message of "Fri, 26 Jul 2002 01:19:31 BST." <200207260119.aa77821@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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:-) Thanks again! -- bakul 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?200207260613.CAA26408>