summaryrefslogtreecommitdiff
path: root/zebra/debug_nl.c
diff options
context:
space:
mode:
authorRicardo <rbarroetavena@anura.com.ar>2022-06-21 16:13:08 -0300
committerRicardo <rbarroetavena@anura.com.ar>2022-06-23 12:05:26 -0300
commit63eaefa86c29fd8a3ceb63ec597f3ec1c4d200f9 (patch)
tree0da7e45515942145b977ee79f87d3e0e6ef0c2dc /zebra/debug_nl.c
parent3971e0292844d5133690e29292a36b13999a1e04 (diff)
zebra: rtnetlink: flow attr per gateway attr in multipath updates
Signed-off-by: Ricardo <rbarroetavena@anura.com.ar>
Diffstat (limited to 'zebra/debug_nl.c')
-rw-r--r--zebra/debug_nl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/debug_nl.c b/zebra/debug_nl.c
index 89ef7a2076..f8b866cd25 100644
--- a/zebra/debug_nl.c
+++ b/zebra/debug_nl.c
@@ -1083,8 +1083,9 @@ next_rta:
plen = RTA_PAYLOAD(rta);
zlog_debug(" rta [len=%d (payload=%zu) type=(%d) %s]", rta->rta_len,
- plen, rta->rta_type, rtm_rta2str(rta->rta_type));
- switch (rta->rta_type) {
+ plen, rta->rta_type & NLA_TYPE_MASK,
+ rtm_rta2str(rta->rta_type & NLA_TYPE_MASK));
+ switch (rta->rta_type & NLA_TYPE_MASK) {
case RTA_IIF:
case RTA_OIF:
case RTA_PRIORITY: