On Thu, Aug 17, 2000 at 06:55:20PM +0200, Lucio De Re wrote: > > Basically, a csgetval(2) called as follows: > csgetval ("net", "port", "566", "il", buf); > returns a failure because, apparently, the request to /net/cs stops at > the first entry (port=566 tcp=guard). The actual value returned by > csetval(2) seems to contain _only_ the above entry. > I decided to take the plunge. In /sys/src/cmd/ndb, I modified cs.c by adding a "count" value in genquery() instead of terminating after the first match. I don't know if the same juggling in necessary elsewhere. It solved the netstat(1) problem. ++L