bin/26359: [PATCH] a minor nit in how netstat detects 'server sockets'

Bruce M Simpson bms at FreeBSD.org
Mon Jun 14 15:26:47 GMT 2004


Synopsis: [PATCH] a minor nit in how netstat detects 'server sockets'

State-Changed-From-To: open->analyzed
State-Changed-By: bms
State-Changed-When: Mon Jun 14 15:24:39 GMT 2004
State-Changed-Why: 
There's definitely a bug in here somewhere.

tcpcb->t_state probably needs to be checked for LISTEN;
for a udp socket, the check probably needs to be for 'unbound
to a remote address' by looking for INADDR_ANY.

http://www.freebsd.org/cgi/query-pr.cgi?pr=26359


More information about the freebsd-bugs mailing list