summaryrefslogtreecommitdiff
path: root/src/network/if_nametoindex.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-03fix if_nametoindex return value when interface does not existRich Felker1-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.
2013-07-09fix missing SOCK_CLOEXEC in various functions that use sockets internallyRich Felker1-1/+1
2011-04-05implement if_indextoname and if_nametoindex functionsRich Felker1-0/+18