Add missing extcalls array. This is currently a no-op, but this is what
userland does too. Allows npfctl save; npfctl load to work again.
This commit is contained in:
parent
44e7baede1
commit
8feed355cb
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: npf_rproc.c,v 1.12 2014/08/11 01:54:12 rmind Exp $ */
|
||||
/* $NetBSD: npf_rproc.c,v 1.13 2016/12/10 19:02:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
|
||||
|
@ -269,6 +269,8 @@ npf_rprocset_export(const npf_rprocset_t *rpset, prop_array_t rprocs)
|
|||
|
||||
LIST_FOREACH(rp, &rpset->rps_list, rp_entry) {
|
||||
rpdict = prop_dictionary_create();
|
||||
prop_array_t extcalls = prop_array_create();
|
||||
prop_dictionary_set_and_rel(rpdict, "extcalls", extcalls);
|
||||
prop_dictionary_set_cstring(rpdict, "name", rp->rp_name);
|
||||
prop_dictionary_set_uint32(rpdict, "flags", rp->rp_flags);
|
||||
prop_array_add(rprocs, rpdict);
|
||||
|
|
Loading…
Reference in New Issue