Deleted Added
full compact
27c27
< * $FreeBSD: head/sys/net/if_enc.c 241394 2012-10-10 08:36:38Z kevlo $
---
> * $FreeBSD: head/sys/net/if_enc.c 241610 2012-10-16 13:37:54Z glebius $
93a94,95
> static struct if_clone *enc_cloner;
> static const char encname[] = "enc";
95,96d96
< IFC_SIMPLE_DECLARE(enc, 1);
<
146c146
< if_initname(ifp, ifc->ifc_name, unit);
---
> if_initname(ifp, encname, unit);
170c170,171
< if_clone_attach(&enc_cloner);
---
> enc_cloner = if_clone_simple(encname, enc_clone_create,
> enc_clone_destroy, 0);