]> granicus.if.org Git - libtirpc/commitdiff
getnetconfig: Fix NC_BADFILE return from getnetconfigent(3t)
authorChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2009 13:51:36 +0000 (08:51 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 30 Nov 2009 13:51:36 +0000 (08:51 -0500)
The blank line at the end of /etc/netconfig is invalid, and causes the
getnetconfigent(3t) family of APIs to fail inappropriately in some
cases.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
doc/etc_netconfig

index f329cf6d955f352bef94f29c0dd5c83aa5b859ec..effc67eb0c24077cb04398927ec39a0895b55eac 100644 (file)
@@ -17,4 +17,3 @@ tcp6       tpi_cots_ord  v     inet6    tcp     -       -
 rawip      tpi_raw       -     inet      -      -       -
 local      tpi_cots_ord  -     loopback  -      -       -
 unix       tpi_cots_ord  -     loopback  -      -       -
-