summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 548c7be..21db90b 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1111,7 +1111,9 @@ static moduledata_t ng_##typename##_mod = { \
(typestructp) \
}; \
DECLARE_MODULE(ng_##typename, ng_##typename##_mod, sub, order); \
-MODULE_DEPEND(ng_##typename, netgraph, 1, 1, 1)
+MODULE_DEPEND(ng_##typename, netgraph, NG_ABI_VERSION, \
+ NG_ABI_VERSION, \
+ NG_ABI_VERSION)
#define NETGRAPH_INIT(tn, tp) \
NETGRAPH_INIT_ORDERED(tn, tp, SI_SUB_PSEUDO, SI_ORDER_ANY)
OpenPOWER on IntegriCloud