Commit Graph

25 Commits

Author SHA1 Message Date
fvdl 0979d803f6 For the local case, return serv_uaddr in addrmerge, not the address
by which the client contacted rpcbind.

Also fix a missing \n in a debug printf.

From Martin Blapp, mb@imp.ch
2001-04-30 00:36:07 +00:00
wiz 7a345e6d38 Fix date, and add RCS Id. 2001-04-26 23:28:42 +00:00
fvdl a5164578ec For an AF_LOCAL connection, don't attempt to do the address merge dance.
While here, fix some memory leaks in error cases.
2001-04-22 21:43:05 +00:00
cgd fdfcf1962d labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l 2001-01-16 02:43:37 +00:00
lukem cb4cea7120 don't use LOG_CONS 2001-01-11 02:44:03 +00:00
jmc ca4a8d27dc Move routines which fill in tbuf in addrmerge(). The fixes in 1.4 pick a new
interface but don't fill in tbuf which results in clients getting garbage back
in part of the answer. This makes sure there's something in tbuf.

At some point this whole logic should be looked at, as just picking a random
local up interface for non-local requests doesn't feel right.
2001-01-10 05:23:43 +00:00
fvdl b2475f7e19 Make showmount -e work on lp64be. From Matt Green. While at it, also
fix another occurence of passing &int to xdr_long.
2000-10-20 11:49:40 +00:00
ad 2f4f733952 rpcinfo is in section 8. 2000-10-10 14:34:13 +00:00
fvdl 018ee18dee Do not check unitialized variables as error values. This is generally
frowned upon, or so I hear.
2000-08-03 00:07:22 +00:00
fvdl ad91c2992c When merging addresses, and no direct match is found, pick the first
configured interface that is preferably not local or point to point.
This appears to be what Solaris does as well.
2000-08-03 00:04:30 +00:00
matt 3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
fvdl a17451fec8 Plug memory leak in error case (would have happened very rarely). 2000-06-22 13:55:18 +00:00
fvdl 1cccef0253 Make sure to free the netconfig entry in addrmerge(). 2000-06-22 10:59:55 +00:00
fvdl d797839afc Make sure that freeing the temporary buffer always happens; previous
commit would still result in a leak.
2000-06-22 10:57:38 +00:00
fvdl bcec83b93a Plug a few memory leaks. 2000-06-22 08:09:26 +00:00
enami cfaeffad70 - Fix .Nd usage; no need to supply hyphen explicitly and the description is
short enough to put on the same line.
- Kill the comma at the end of SEE ALSO list.
- Remove empty line in the source.
- Break line at the end of statement in the source for better output (in other
  words, let the roff to format it).
2000-06-21 03:19:05 +00:00
fvdl ce3461b310 Oops, previous should not have been committed. 2000-06-20 13:56:43 +00:00
fvdl 6806083e5d Free buffer used in xdrmem_create. 2000-06-20 13:55:11 +00:00
fvdl 4810a01fcf Ok.. really get it right this time (that's ntohs, not htons.. need coffee). 2000-06-08 09:01:05 +00:00
fvdl da693d7595 Fix botched reserved port check for the -L option case. From
IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>, PR 10321

Use IPV6PORT_RESERVED in the INET6 case, for consistency.
2000-06-08 08:21:42 +00:00
fvdl 8ff5b7bdd6 Host access checking for a local socket makes no sense. 2000-06-04 12:06:44 +00:00
thorpej b6219f383c Need <string.h> for LP64 systems. 2000-06-04 04:51:50 +00:00
fvdl 35d98921a7 Reflect changed Unix domain socket name. 2000-06-03 00:51:27 +00:00
fvdl add1c74187 This file was omitted in the original commit. 2000-06-03 00:47:21 +00:00
fvdl d687de29c6 rpcbind, the successor to portmap. Taken from Sun TI-RPC source code,
then modified. This still contains some ugly special casing for
procedures in the security section, but I haven't found a nicer way
so far.
2000-06-02 23:15:41 +00:00