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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to