diff options
author | glebius <glebius@FreeBSD.org> | 2013-09-28 14:14:23 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-09-28 14:14:23 +0000 |
commit | 6502d83a234d1b631e989b816e5623b522ae819d (patch) | |
tree | 97f83f7967bf7309c40a4222edaf5ce5409a971d /sys/net | |
parent | 068e00d46b11b0ceaaa58f7e9534a3d98710c4b7 (diff) | |
download | FreeBSD-src-6502d83a234d1b631e989b816e5623b522ae819d.zip FreeBSD-src-6502d83a234d1b631e989b816e5623b522ae819d.tar.gz |
Fix a fallout from r241610. One enc interface must be created on startup.
Pointy hat to: glebius
Reported by: gavin
Approved by: re (gjb)
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index e49f40c..dcb82f5 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"); |