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> Reported by: Marie Helene Kvello-Aune <marieheleneka@gmail.com>
This commit is contained in:
parent
cdd2d7d4a5
commit
ed9de14d2f
@ -584,6 +584,7 @@ static moduledata_t bridge_mod = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE(if_bridge, bridge_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
|
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);
|
MODULE_DEPEND(if_bridge, bridgestp, 1, 1, 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user