summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-12-13 07:50:35 +0000
committerPatrick McHardy <kaber@trash.net>2014-12-16 18:20:54 +0100
commit25b19818c46d6fea81f3b951223f4ec7fa86ed55 (patch)
tree70246dcce7760c6f9c8aa066ca051f05f93e73ea /include
parent8a5697cf51937b54fc9a2c1f0d22f19dafe4d61e (diff)
datatype: change concat_type_alloc() to construct type from id
The kernel only stored the id so we need to be able to reconstruct the datatype from the id only. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/datatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datatype.h b/include/datatype.h
index ca6ba9fe..f05f9877 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -212,7 +212,7 @@ extern const struct datatype icmpv6_code_type;
extern const struct datatype icmpx_code_type;
extern const struct datatype time_type;
-extern const struct datatype *concat_type_alloc(const struct expr *expr);
+extern const struct datatype *concat_type_alloc(uint32_t type);
extern void concat_type_destroy(const struct datatype *dtype);
#endif /* NFTABLES_DATATYPE_H */