Comment 2 for bug 1915903

Revision history for this message
Paride Legovini (paride) wrote :

Hello Richard and thanks for this bug report. According to the manpage the -f option is equivalent to the --rfcomm long option, which isn't really well documented. Just to check: are you actually trying to use netstat in rfcomm mode? My impression is that --rfcomm is a legacy option superseded by --protocol, which allows to explicitly specify the desired protocol.

In general I can't match `netstat -f inet` with the command synopsis in the manpage. Were you perhaps meaning `netstat -p inet`?

Please note that while the net-tools are fully supported in Ubuntu (they're in "main"), they're considered deprecated and tools from the iproute2 package should be used instead. The replacement for netstat is normally the 'ss' tool. Unless you have specific requirements my suggestion is to start using the "new" (> 10 years old) tools from the beginning.