From 00fffb2d7935eba3d273c89bf18cc28157fd9be6 Mon Sep 17 00:00:00 2001 From: Vlad Buslov Date: Mon, 30 Nov 2020 21:32:49 +0200 Subject: [PATCH] tc: use TCA_ACT_ prefix for action flags Use TCA_ACT_FLAG_LARGE_DUMP_ON alias according to new preferred naming for action flags. Signed-off-by: Vlad Buslov Signed-off-by: David Ahern --- tc/m_action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tc/m_action.c b/tc/m_action.c index 66e67245..77ff4a8d 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -735,8 +735,8 @@ static int tc_act_list_or_flush(int *argc_p, char ***argv_p, int event) addattr_nest_end(&req.n, tail); tail3 = NLMSG_TAIL(&req.n); - flag_select.value |= TCA_FLAG_LARGE_DUMP_ON; - flag_select.selector |= TCA_FLAG_LARGE_DUMP_ON; + flag_select.value |= TCA_ACT_FLAG_LARGE_DUMP_ON; + flag_select.selector |= TCA_ACT_FLAG_LARGE_DUMP_ON; addattr_l(&req.n, MAX_MSG, TCA_ROOT_FLAGS, &flag_select, sizeof(struct nla_bitfield32)); tail3->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail3; -- 2.39.5