From 25b19818c46d6fea81f3b951223f4ec7fa86ed55 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Sat, 13 Dec 2014 07:50:35 +0000 Subject: 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 --- include/datatype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/datatype.h') 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 */ -- cgit v1.2.3