vlan: Move if_nametoindex() use out of vlan_init.c
authorJouni Malinen <j@w1.fi>
Fri, 25 Mar 2016 16:00:44 +0000 (18:00 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Mar 2016 16:00:44 +0000 (18:00 +0200)
commite86859929fd5e0fcc733192b1db7af2f6315af36
treef7da450ef1bd82f6a7f75637ef417c9ac4e7ff84
parent7c03c08229ee0aa5f98ddf15d2dccb805e7f94b4
vlan: Move if_nametoindex() use out of vlan_init.c

With this, vlan_init.c does not need any special header files anymore
and vlan_ifconfig.c does not need hostapd-specific header files that
might conflict with net/if.h on NetBSD.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/vlan_ifconfig.c
src/ap/vlan_init.c
src/ap/vlan_util.h