fix if_indextoname error case
posix requires errno to be set to ENXIO if the interface does not exist. linux returns ENODEV instead so we handle this.
Showing
想要评论请 注册 或 登录
posix requires errno to be set to ENXIO if the interface does not exist. linux returns ENODEV instead so we handle this.