libiproute: use if_nametoindex
authorRon Yorston <rmy@pobox.com>
Wed, 21 Oct 2015 15:57:25 +0000 (16:57 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 24 Oct 2015 20:04:36 +0000 (22:04 +0200)
commit8814431aca695a43b2e164a6620ea0a3274ce678
treeae0b3f470b296ceea659d490d90ff77d50145306
parent6d777b75ed322ea5ef0d1674ddfee1b5713cb04f
libiproute: use if_nametoindex

Saves 87 bytes.  Assuming, of course, all platforms have it.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/ll_map.c