As pointed out by Patrick McHardy the order in the inet switch in payload_gen_dependency was not consistent. Signed-off-by: Eric Leblond <eric@xxxxxxxxx> --- src/payload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/payload.c b/src/payload.c index e67ef17..5f8c4fe 100644 --- a/src/payload.c +++ b/src/payload.c @@ -204,12 +204,12 @@ int payload_gen_dependency(struct eval_ctx *ctx, const struct expr *expr, switch (ctx->pctx.family) { case NFPROTO_INET: switch (expr->payload.base) { - case PROTO_BASE_TRANSPORT_HDR: - desc = &proto_inet_service; - break; case PROTO_BASE_LL_HDR: desc = &proto_inet; break; + case PROTO_BASE_TRANSPORT_HDR: + desc = &proto_inet_service; + break; default: break; } -- 2.1.4 -- 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