]> granicus.if.org Git - strace/commit
tests/net-sockaddr: use ifindex_lo and IFINDEX_LO_STR
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 14 Aug 2017 18:53:17 +0000 (18:53 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 15 Aug 2017 20:08:39 +0000 (20:08 +0000)
commit579d1c69da56836d898d14be49eeabe520376cee
treee4397f4e3af573d077ddc0259ed3193ff8a0ba85
parente72d776a77aac015a862f71d58fc5079a34e6990
tests/net-sockaddr: use ifindex_lo and IFINDEX_LO_STR

* tests/net-sockaddr.c (if_nametoindex): Remove declaration.
(check_in6_linklocal, check_ll): Remove HAVE_IF_INDEXTONAME checks,
Use ifindex_lo instead of if_nametoindex, use IFINDEX_LO_STR instead
of hardcoded string.
tests/net-sockaddr.c