Date: Thu, 16 Oct 1997 21:59:56 -0700 (PDT) From: John Polstra <jdp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/rpc get_myaddress.c Message-ID: <199710170459.VAA13537@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 1997/10/16 21:59:56 PDT
Modified files:
lib/libc/rpc get_myaddress.c
Log:
Fix two bugs which caused various RPC programs (mountd, nfsd, ...)
to fail under certain circumstances.
1. In one spot, the ifr_flags member was being examined in the
wrong structure, thus it contained garbage. On a machine in which
only the loopback interface was up, this caused everything that
wanted to talk to the portmapper to fail -- a particular problem
with laptops, where the pccard ethernet interface is likely to come
up long after the attempt to start mountd, nfsd, amd, etc.
2. Compounding the above problem, get_myaddress() returned a
successful status even though it failed to find an address that it
considered good enough.
Revision Changes Path
1.14 +3 -3 src/lib/libc/rpc/get_myaddress.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710170459.VAA13537>
