#794281 netstat: please add brackets to ipv6, because ipv6 lines are confusing

Package:
net-tools
Source:
net-tools
Description:
NET-3 networking toolkit
Submitter:
"nsa spy"
Date:
2015-07-31 20:45:05 UTC
Severity:
wishlist
#794281#5
Date:
2015-07-31 20:40:33 UTC
From:
To:
Dear Maintainer,

netstat command
please add brackets to ipv6 numbers to add clarity from port symbols.
alternate solution could be to use dots or semicolons indicating port.
--------------------
example what it is now

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
udp        0      0 0.0.0.0:42923           0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 0.0.0.0:5353            0.0.0.0:*
udp        0      0 0.0.0.0:18093           0.0.0.0:*
udp6       0      0 :::2151                 :::*
udp6       0      0 :::45862                :::*
udp6       0      0 :::5353                 :::*
------------------------- what it is should be Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 [::]:22 [::]:* LISTEN udp 0 0 0.0.0.0:42923 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp 0 0 0.0.0.0:5353 0.0.0.0:* udp 0 0 0.0.0.0:18093 0.0.0.0:* udp6 0 0 [::]:2151 [::]:* udp6 0 0 [::]:45862 [::]:* udp6 0 0 [::]:5353 [::]:*
------------------- alternate solution Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 ::.22 ::.* LISTEN udp 0 0 0.0.0.0:42923 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp 0 0 0.0.0.0:5353 0.0.0.0:* udp 0 0 0.0.0.0:18093 0.0.0.0:* udp6 0 0 ::.2151 ::.* udp6 0 0 ::.45862 ::.* udp6 0 0 ::.5353 ::.*
------------------- alternate solution 2 Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 ::;22 ::;* LISTEN udp 0 0 0.0.0.0:42923 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp 0 0 0.0.0.0:5353 0.0.0.0:* udp 0 0 0.0.0.0:18093 0.0.0.0:* udp6 0 0 ::;2151 ::;* udp6 0 0 ::;45862 ::;* udp6 0 0 ::;5353 ::;*
-------------------