summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index 222ce42..3bedf1c 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -150,6 +150,7 @@ tunmodevent(module_t mod, int type, void *data)
switch (type) {
case MOD_LOAD:
+ clone_setup(&tunclones);
tag = EVENTHANDLER_REGISTER(dev_clone, tunclone, 0, 1000);
if (tag == NULL)
return (ENOMEM);
OpenPOWER on IntegriCloud