summaryrefslogtreecommitdiffstats
path: root/src/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto.c')
-rw-r--r--src/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto.c b/src/proto.c
index 7dc7b3e2..6302016c 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -272,7 +272,7 @@ const struct proto_desc proto_comp = {
},
.templates = {
[COMPHDR_NEXTHDR] = INET_PROTOCOL("nexthdr", struct ip_comp_hdr, nexthdr),
- [COMPHDR_FLAGS] = COMPHDR_FIELD("flags", flags),
+ [COMPHDR_FLAGS] = HDR_TEMPLATE("flags", &bitmask_type, struct ip_comp_hdr, flags),
[COMPHDR_CPI] = COMPHDR_FIELD("cpi", cpi),
},
};