(if_nametoindex): Return 0 if SIOGIFINDEX is not defined.
commit0e0fb06380877eeb4aef36d3515c457b87d3c007
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Aug 1997 01:49:09 +0000 (14 01:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Aug 1997 01:49:09 +0000 (14 01:49 +0000)
tree0790740320699516d3fad27c515aab9087d88743
parent321fcae8a1b07c63fa77518f312235ece589ccb9
(if_nametoindex): Return 0 if SIOGIFINDEX is not defined.
(if_indextoname): Initialize "result" to NULL.
(if_nametoindex, if_nameindex): Fix ENOSYS setting.
sysdeps/unix/sysv/linux/if_index.c