Commit 2018f691 authored by Pavel Tvrdík's avatar Pavel Tvrdík

Socktest: Add iface index detection debug output

parent 58caded7
......@@ -168,6 +168,9 @@ static inline void
parse_iface(const char *iface, int *index)
*index = if_nametoindex(iface);
if (*index == 0)
printf("Interface %s was recognized with index %d\n", iface, *index);
int fd = socket(AF_INET, SOCK_DGRAM, 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment