svn commit: r351229 - head/sys/net

Kyle Evans kevans at FreeBSD.org
Mon Aug 19 19:02:00 UTC 2019


Author: kevans
Date: Mon Aug 19 19:01:59 2019
New Revision: 351229
URL: https://svnweb.freebsd.org/changeset/base/351229

Log:
  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

Modified:
  head/sys/net/if_tuntap.c

Modified: head/sys/net/if_tuntap.c
==============================================================================
--- head/sys/net/if_tuntap.c	Mon Aug 19 18:50:56 2019	(r351228)
+++ head/sys/net/if_tuntap.c	Mon Aug 19 19:01:59 2019	(r351229)
@@ -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)


More information about the svn-src-head mailing list