Signed-off-by: Phil Sutter <phil@xxxxxx> --- include/expression.h | 1 + src/payload.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/expression.h b/include/expression.h index 9ba87e8273a3a..1b31160713750 100644 --- a/include/expression.h +++ b/include/expression.h @@ -277,6 +277,7 @@ struct expr { const struct proto_hdr_template *tmpl; enum proto_bases base; unsigned int offset; + unsigned int type; } payload; struct { /* EXPR_EXTHDR */ diff --git a/src/payload.c b/src/payload.c index 55128fee14986..4e353e8e5c8b0 100644 --- a/src/payload.c +++ b/src/payload.c @@ -145,6 +145,7 @@ struct expr *payload_expr_alloc(const struct location *loc, expr->payload.tmpl = tmpl; expr->payload.base = base; expr->payload.offset = tmpl->offset; + expr->payload.type = type; return expr; } -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html