From bdad3190a2e34847501823f93cbf26fc78b65b80 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Sat, 28 Sep 2013 14:14:23 +0000 Subject: [PATCH] Fix a fallout from r241610. One enc interface must be created on startup. Pointy hat to: glebius Reported by: gavin Approved by: re (gjb) --- sys/net/if_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index e49f40c18db5..dcb82f5d8f1b 100644 --- a/sys/net/if_enc.c +++ b/sys/net/if_enc.c @@ -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");