From: Alexander Aring Date: Mon, 28 Aug 2017 19:07:37 +0000 (-0400) Subject: tc: m_ife: report about kernels default type X-Git-Tag: v4.15.0~207^2~7 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=38060de1eb53fb3b677e43eb13b2e27bf6eb985f;p=mirror_iproute2.git tc: m_ife: report about kernels default type This patch will report about if the ethertype for IFE is not specified that the default IFE type is used. Signed-off-by: Alexander Aring --- diff --git a/tc/m_ife.c b/tc/m_ife.c index 7b57130e..5633ab90 100644 --- a/tc/m_ife.c +++ b/tc/m_ife.c @@ -189,6 +189,8 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p, addattr_l(n, MAX_MSG, TCA_IFE_DMAC, dbuf, ETH_ALEN); if (user_type) addattr_l(n, MAX_MSG, TCA_IFE_TYPE, &ife_type, 2); + else + fprintf(stderr, "IFE type 0x%04X\n", ETH_P_IFE); if (saddr) addattr_l(n, MAX_MSG, TCA_IFE_SMAC, sbuf, ETH_ALEN);