Bug 332531
Summary: | ifconfig returns invalid exit code when incorrect netmask is given | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Michal Marciniszyn <mmarcini> |
Component: | net-tools | Assignee: | Zdenek Prikryl <zprikryl> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.5 | CC: | tvujec |
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-09-16 14:51:34 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
Michal Marciniszyn
2007-10-15 14:16:04 UTC
ifcondig uses ioct() to setting netmask. If ioctl() successes, then ifconfig returns 0. In this case, ioctl() really successes, so ifconfig returns zero. In my opinion this is not a bug but a feature. Zdenek |