From 5c4eed860150b35731514fc66c93412e01a2e553 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 19 Aug 2019 19:01:59 +0000 Subject: [PATCH] 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 --- sys/net/if_tuntap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/if_tuntap.c b/sys/net/if_tuntap.c index 14a57ceb62ec..546942408973 100644 --- a/sys/net/if_tuntap.c +++ b/sys/net/if_tuntap.c @@ -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)