diff options
Diffstat (limited to 'sys/netgraph/ng_vjc.c')
-rw-r--r-- | sys/netgraph/ng_vjc.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/sys/netgraph/ng_vjc.c b/sys/netgraph/ng_vjc.c index 90d7d4d..508a098 100644 --- a/sys/netgraph/ng_vjc.c +++ b/sys/netgraph/ng_vjc.c @@ -218,18 +218,15 @@ static const struct ng_cmdlist ng_vjc_cmds[] = { /* Node type descriptor */ static struct ng_type ng_vjc_typestruct = { - NG_ABI_VERSION, - NG_VJC_NODE_TYPE, - NULL, - ng_vjc_constructor, - ng_vjc_rcvmsg, - ng_vjc_shutdown, - ng_vjc_newhook, - NULL, - NULL, - ng_vjc_rcvdata, - ng_vjc_disconnect, - ng_vjc_cmds + .version = NG_ABI_VERSION, + .name = NG_VJC_NODE_TYPE, + .constructor = ng_vjc_constructor, + .rcvmsg = ng_vjc_rcvmsg, + .shutdown = ng_vjc_shutdown, + .newhook = ng_vjc_newhook, + .rcvdata = ng_vjc_rcvdata, + .disconnect = ng_vjc_disconnect, + .cmdlist = ng_vjc_cmds, }; NETGRAPH_INIT(vjc, &ng_vjc_typestruct); |