1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Fix a fallout from r241610. One enc interface must be created on startup.

Pointy hat to:	glebius
Reported by:	gavin
Approved by:	re (gjb)
This commit is contained in:
Gleb Smirnoff 2013-09-28 14:14:23 +00:00
parent 582071bd52
commit bdad3190a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255926

View File

@ -168,7 +168,7 @@ enc_modevent(module_t mod, int type, void *data)
case MOD_LOAD:
mtx_init(&enc_mtx, "enc mtx", NULL, MTX_DEF);
enc_cloner = if_clone_simple(encname, enc_clone_create,
enc_clone_destroy, 0);
enc_clone_destroy, 1);
break;
case MOD_UNLOAD:
printf("enc module unload - not possible for this module\n");