MFC r323864

bridge: Set module version

This ensures that the loader will not load the module if it's also built in to
the kernel.

PR:             220860
Submitted by:   Eugene Grosbein <eugen@freebsd.org>
This commit is contained in:
Kristof Provost 2017-09-30 10:16:15 +00:00
parent 03e11d1e98
commit 3beccaf9a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=324116

View File

@ -537,6 +537,7 @@ static moduledata_t bridge_mod = {
};
DECLARE_MODULE(if_bridge, bridge_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
MODULE_VERSION(if_bridge, 1);
MODULE_DEPEND(if_bridge, bridgestp, 1, 1, 1);
/*