Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/05/1998 07:33:15
Module Name:	src
Committed By:	lukem
Date:		Mon Oct  5 14:33:15 UTC 1998

Modified Files:
	src/sys/netinet: in_pcb.c in_pcb.h
Log Message:
* in_pcblookup_port(): deprecate INPLOOKUP_WILDCARD and flags in favour
of a lookup_wildcard arg; simplifies the logic a bit.
* when assigning ephemeral ports in in_pcbbind(), always call
in_pcblookup_port() with lookup_wildcard=1, so that ephemeral port
allocation on sockets with SO_REUSEADDR set won't potentially bind to a
port in use by something else (principle of least surprise).