The RHS operand for bitwise shift is in HBO. Set this explicitly. Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx> --- src/netlink_delinearize.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netlink_delinearize.c b/src/netlink_delinearize.c index 0058e2cfe42a..3c80895a43f9 100644 --- a/src/netlink_delinearize.c +++ b/src/netlink_delinearize.c @@ -440,6 +440,7 @@ static struct expr *netlink_parse_bitwise_shift(struct netlink_parse_ctx *ctx, nld.value = nftnl_expr_get(nle, NFTNL_EXPR_BITWISE_DATA, &nld.len); right = netlink_alloc_value(loc, &nld); + right->byteorder = BYTEORDER_HOST_ENDIAN; expr = binop_expr_alloc(loc, op, left, right); expr->len = left->len; -- 2.25.1