Bug 446187

Summary: netstat does not print interfaces when executed with "--interfaces" parameter
Product: [Fedora] Fedora Reporter: Milos Malik <mmalik>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-15 12:42:22 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 Milos Malik 2008-05-13 12:16:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.8.1.14) Gecko/20080416 Fedora/2.0.0.14-1.fc8 Firefox/2.0.0.14

Description of problem:
The man page and the usage message claim that "-i" is equivalent to "--interfaces", but the reality is different.

Version-Release number of selected component (if applicable):
net-tools-1.60-84

How reproducible:
Always


Steps to Reproduce:
1. netstat -i
2. echo $?
3. netstat --interfaces
4. echo $?

Actual Results:
1. List of interfaces.
2. Return code: 0.
3. Usage message.
4. Return code: 4.

Expected Results:
Both outputs of netstat are the same.
Both return codes are the same.

Additional info: