Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix if_nametoindex return value when socket open fails | Ron Yorston | 2016-01-17 | 1 | -1/+1 |
| | | | | | The return value of if_nametoindex is unsigned; it should return 0 on error. | ||||
* | fix if_nametoindex return value when interface does not exist | Rich Felker | 2014-06-03 | 1 | -1/+1 |
| | | | | | | the return value is unsigned, so negative results for "errors" do not make sense; 0 is the value reserved for when the interface name does not exist. | ||||
* | fix missing SOCK_CLOEXEC in various functions that use sockets internally | Rich Felker | 2013-07-09 | 1 | -1/+1 |
| | |||||
* | implement if_indextoname and if_nametoindex functions | Rich Felker | 2011-04-05 | 1 | -0/+18 |