Opened 16 years ago
Closed 16 years ago
#3830 closed bug (fixed)
Endless loop in netstat
Reported by: | jahaiku | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Network & Internet/Stack | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
If you execute the command "netstat -n" or "netstat" the last open port in the list will be shown in an endless loop until you hit ctrl-c. This is Rev. 30452 on Qemu and real hardware. Looks like this:
~> netstat -n
Proto Recv-Q Send-Q Local Address Foreign Address state Program
tcp 0 0 *:23 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
tcp 0 0 *:21 *:* listen 45/net_server
and so on ...
Fixed in hrev30500, dunno why this ever worked before.