Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 07:33:25 -0500
From:      Jim Mercer <jim@reptiles.org>
To:        hackers@freebsd.org
Subject:   4.3-RC bug in /usr/bin/netstat
Message-ID:  <20010328073324.O29550@reptiles.org>

next in thread | raw e-mail | index | archive | help

netstat gets a bus error if handed the -a option and the -i option.

gw# uname -a
FreeBSD gw.reptiles.org 4.3-RC FreeBSD 4.3-RC #0: Tue Mar 27 18:24:41 EST 2001     root@gw.reptiles.org:/usr/src/sys/compile/GENERIC  i386

gw# netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
xl0   1500  <Link#1>    00:01:02:6e:26:05  4827697     0  3751908     0 230193
xl0   1500  net.net-117/2 198.96.117.68    4827576     -  3751877     -     -
xl0   1500  fe80:1::201 fe80:1::201:2ff:f        0     -        0     -     -
lp0*  1500  <Link#2>                             0     0        0     0     0
gif0* 1280  <Link#3>                             0     0        0     0     0
gif1* 1280  <Link#4>                             0     0        0     0     0
gif2* 1280  <Link#5>                             0     0        0     0     0
gif3* 1280  <Link#6>                             0     0        0     0     0
lo0   16384 <Link#7>                             4     0        4     0     0
lo0   16384 fe80:7::1   fe80:7::1                0     -        0     -     -
lo0   16384 localhost   ::1                      0     -        0     -     -
lo0   16384 loopback.loca localhost              4     -        4     -     -
ppp0* 1500  <Link#8>                             0     0        0     0     0
sl0*  552   <Link#9>                             0     0        0     0     0
faith 1500  <Link#10>                            0     0        0     0     0

gw# netstat -ia
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
xl0   1500  <Link#1>    00:01:02:6e:26:05  4827676     0  3751896     0 230193
Bus error

-- 
[ Jim Mercer          jim@pneumonoultramicroscopicsilicovolcanoconiosis.ca ]
[          Reptilian Research -- Longer Life through Colder Blood          ]
[ aka                        jim@reptiles.org              +1 416 410-5633 ]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010328073324.O29550>