tuntap: belatedly add MODULE_VERSION for if_tun and if_tap

When tun/tap were merged, appropriate MODULE_VERSION should have been added
for things like modfind(2) to continue to do the right thing with the old
names.

Reported by:	jhb
This commit is contained in:
Kyle Evans 2019-08-19 19:01:59 +00:00
parent 7d7fb3dc01
commit 5c4eed8601
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351229

View File

@ -671,6 +671,8 @@ static moduledata_t tuntap_mod = {
DECLARE_MODULE(if_tuntap, tuntap_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
MODULE_VERSION(if_tuntap, 1);
MODULE_VERSION(if_tun, 1);
MODULE_VERSION(if_tap, 1);
static void
tunstart(struct ifnet *ifp)