The following reply was made to PR bin/161986; it has been noted by GNATS. From: Dennis Yusupoff <d...@smartspb.net> To: bug-follo...@freebsd.org, pershi...@yandex.ru Cc: Subject: Re: bin/161986: [patch] netstat(1): Interface auto-width in "netstat -rn" Date: Fri, 18 Nov 2011 14:21:32 +0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5D86B41D394D8570270AFE3F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you for your patch, it works excellent, what I really wanted to see al this years! :) Example after patch: =3D=3D=3D netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Exp= ire default 10.78.77.35 UGS 0 2538 em0 1.1.1.0/30 link#7 U 0 0 em0.3050 1.1.1.1 link#7 UHS 0 0 lo0 127.0.0.1 link#6 UH 0 1 lo0 =3D=3D=3D It's even works with renamed interfaces also: =3D=3D=3D # ifconfig em0.3050 name eth0.tag.3050 # netstat -rn|grep eth0 1.1.1.0/30 link#7 U 0 0 eth0.tag.305= 0 # =3D=3D=3D Brilliant! And, there is also same problem with interface counters view (netstat -i). Moreover, it doesn't viewed correctly even in wide mode! See: =3D=3D=3D root@exBastinda:/usr/src/usr.bin/netstat (387) netstat -inW|grep em0 em0 1500 <Link#3> 00:30:48:64:e9:4a 133090 0 0 =20 18862 0 0 em0 1500 10.78.77.0/24 10.78.77.22 23468 - - =20 16827 - - em0.305 1500 <Link#7> 00:30:48:64:e9:4a 0 0 =20 0 2 0 0 em0.305 1500 1.1.1.0/30 1.1.1.1 0 - =20 - 0 - - root@exBastinda:/usr/src/usr.bin/netstat (388) netstat -in|grep em0 em0 1500 <Link#3> 00:30:48:64:e9:4a 133117 0 0 =20 18889 0 0 em0 1500 10.78.77.0/24 10.78.77.22 23495 - - =20 16854 - - em0.3 1500 <Link#7> 00:30:48:64:e9:4a 0 0 0 =20 2 0 0 em0.3 1500 1.1.1.0/30 1.1.1.1 0 - - =20 0 - - =3D=3D=3D So would you be so kind to fix this behavior also? --=20 With best regards, Dennis Yusupoff, network engineer of Smart-Telecom ISP Russia, Saint-Petersburg=20 --------------enig5D86B41D394D8570270AFE3F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOxjGsAAoJEBUTaqBS2NB4PfwH/A6qP6RC6VhekbFSYZ0+LPx1 HcePtxzawbZH0Yguw4qs4zuy/pbzIs7YyfRWsj36JkpRCUBn6hN7mYt9whNQ0Ai/ H2orGTa/EPTx+3yBmufZ06rKr42oU2UhsIKH+PIjADpIIL80q7ZOtysLu0d5HWY/ qvDAfq6PqJLqvrmBe/8sjhklGFLNPSnQUxk+F/1VOel6V91utYZa6XzkWkTk25NO KtjTUWIZMk6BSLqXfJCx+1UVqncvdxlQw6Iw14nroNgsxsNG2oP1lIn4F1ELFNkJ piRy8Ojn+MP+XMdkjmBjah/Uz1kuI0YMLSA+Nk54f+CqGiJs4VkQoCa+Iq8jUiA= =YavP -----END PGP SIGNATURE----- --------------enig5D86B41D394D8570270AFE3F-- _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"