summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-16 17:22:56 +0000
committerPatrick McHardy <kaber@trash.net>2014-01-16 17:22:56 +0000
commit3b457d49854503807fa019d9c44a9daf6c79dba0 (patch)
tree8c1b1e7a2443ac6cb1f1a4a561bf717cc1dd1246 /src/datatype.c
parentd357cdd882cc0cf6afb15686834f5d9d6efab57f (diff)
parent86b965bdab8dc8735c4a846ec09bfbbadfae780b (diff)
Merge remote-tracking branch 'origin/master' into next-3.14
Signed-off-by: Patrick McHardy <kaber@trash.net> Conflicts: src/payload.c
Diffstat (limited to 'src/datatype.c')
-rw-r--r--src/datatype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datatype.c b/src/datatype.c
index e228f530..5e4aacdf 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -398,6 +398,7 @@ const struct datatype ipaddr_type = {
.basetype = &integer_type,
.print = ipaddr_type_print,
.parse = ipaddr_type_parse,
+ .flags = DTYPE_F_PREFIX,
};
static void ip6addr_type_print(const struct expr *expr)
@@ -455,6 +456,7 @@ const struct datatype ip6addr_type = {
.basetype = &integer_type,
.print = ip6addr_type_print,
.parse = ip6addr_type_parse,
+ .flags = DTYPE_F_PREFIX,
};
static void inet_protocol_type_print(const struct expr *expr)
@@ -680,6 +682,7 @@ const struct datatype mark_type = {
.basefmt = "0x%.8Zx",
.print = mark_type_print,
.parse = mark_type_parse,
+ .flags = DTYPE_F_PREFIX,
};
static void time_type_print(const struct expr *expr)