Re: [PATCH 10/16] libc: Fix if_indextoname(), if_nametoindex()

2018-08-07 Thread Nadav Har'El
Makes sense :-) How did this function ever previously work? I guess it didn't, because we never even implemented this ioctl, I think. I guess we don't have a unit test for it? -- Nadav Har'El n...@scylladb.com On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > Use AF_INET instead of AF_UNI

[PATCH 10/16] libc: Fix if_indextoname(), if_nametoindex()

2018-08-06 Thread Charles Myers
Use AF_INET instead of AF_UNIX Signed-off-by: Charles Myers --- libc/network/if_indextoname.c | 2 +- libc/network/if_nametoindex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/network/if_indextoname.c b/libc/network/if_indextoname.c index e7f526d..edda5f0 100644 -