Savagedlight / libifconfig

A C API to do most things done by the FreeBSD 'ifconfig' program today
Other
26 stars 7 forks source link

libifconfig_get_description: ioctl() error is unhandled #6

Closed Savagedlight closed 8 years ago

Savagedlight commented 8 years ago

Although it was fine to fall-through to the later break statement in the original ifconfig code, this is not sufficient for the library. Make it an error condition and do proper error reporting.

Reported by: Ravi Pokala