Bug 234045

Summary: missing '=' causes "netstat -I" and "netstat --interfaces" to segfault
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.60-81 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-27 07:33:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2007-03-26 19:25:21 UTC
Description of problem:
Running "netstat -I" (without the '=') (same for "netstat --intefaces")
generates a segfault:

[tbl@localhost ~]$ netstat -I
Segmentation fault
[tbl@localhost ~]$ netstat --interfaces
Segmentation fault
[tbl@localhost ~]$

Adding '=' :

[tbl@localhost ~]$ netstat -I=
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
: error fetching interface information: Device not found
[tbl@localhost ~]$ 


Version-Release number of selected component (if applicable):
net-tools-1.60-80.fc7

How reproducible:
every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Radek Vokál 2007-03-27 07:33:49 UTC
Fixed in net-tools-1.60-81, thanks for the bug report.