From 0eff54bd407aae6b99c3b189d356929e399b5a38 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 6 Mar 2011 17:42:51 +0100 Subject: libxtables: XTTYPE_UINT16 support Signed-off-by: Jan Engelhardt --- include/xtables.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/xtables.h.in') diff --git a/include/xtables.h.in b/include/xtables.h.in index 325c04c4..6167f4da 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -55,6 +55,7 @@ struct in_addr; enum xt_option_type { XTTYPE_NONE, XTTYPE_UINT8, + XTTYPE_UINT16, XTTYPE_UINT32, XTTYPE_UINT64, XTTYPE_UINT8RC, @@ -118,7 +119,7 @@ struct xt_option_call { uint8_t nvals; union { uint8_t u8, u8_range[2]; - uint16_t u16_range[2]; + uint16_t u16, u16_range[2]; uint32_t u32, u32_range[2]; uint64_t u64, u64_range[2]; struct { -- cgit v1.2.3