bin/52349: netstat -ni broken for vlan interfaces

Andrew Thompson andy at fud.org.nz
Tue Jul 1 14:20:13 PDT 2003


The following reply was made to PR bin/52349; it has been noted by GNATS.

From: "Andrew Thompson" <andy at fud.org.nz>
To: freebsd-gnats-submit at FreeBSD.org
Cc: mike at sentex.net
Subject: Re: bin/52349: netstat -ni broken for vlan interfaces
Date: Wed, 2 Jul 2003 09:14:39 +1200 (NZST)

 Hi,
 
 This additional patch aligns the table header with the changes in the PR.
 
 
 --- usr.bin/netstat/if.c.orig   Tue Jul  1 22:37:14 2003
 +++ usr.bin/netstat/if.c        Tue Jul  1 22:38:59 2003
 @@ -188,7 +188,7 @@
                 return;
 
         if (!pfunc) {
 -               printf("%-5.5s %5.5s %-13.13s %-17.17s %8.8s %5.5s",
 +               printf("%-7.7s %5.5s %-13.13s %-17.17s %8.8s %5.5s",
                        "Name", "Mtu", "Network", "Address", "Ipkts","Ierrs");
                 if (bflag)
                         printf(" %10.10s","Ibytes");


More information about the freebsd-bugs mailing list