| Summary: | [PATCH] a minor nit in how netstat detects 'server sockets' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Peter Pentchev <roam> | ||||
| Component: | bin | Assignee: | Bruce M Simpson <bms> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Peter Pentchev
2001-04-04 22:10:01 UTC
State Changed From-To: open->analyzed 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. Responsible Changed From-To: freebsd-bugs->bms I'll take this State Changed From-To: analyzed->patched An appropriate fix has been committed to HEAD State Changed From-To: patched->closed Fixed in FreeBSD 5.x and higher. |