summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-01-31 20:50:48 +0100
committerGitHub <noreply@github.com>2022-01-31 20:50:48 +0100
commitff8b960c1c75da154b1b77e639926294a2d45ff9 (patch)
tree0521924d89a8c6b54db3034accb631dc78c41343
parentMerge pull request #10448 from ton31337/fix/zebra_ospf6d_json_leak (diff)
parentospfd: Convert output to host order from network order for route_tag (diff)
downloadfrr-ff8b960c1c75da154b1b77e639926294a2d45ff9.tar.xz
frr-ff8b960c1c75da154b1b77e639926294a2d45ff9.zip
Merge pull request #10451 from donaldsharp/route_tag_ntohlbase_8.2
ospfd: Convert output to host order from network order for route_tag
-rw-r--r--ospfd/ospf_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index 2f7556f7f..f40d05674 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -389,7 +389,7 @@ static void ospf_as_external_lsa_dump(struct stream *s, uint16_t length)
asr->tos & 0x7f, GET_METRIC(asr->metric));
zlog_debug(" Forwarding address %pI4", &asr->fwd_addr);
zlog_debug(" External Route Tag %" ROUTE_TAG_PRI,
- asr->route_tag);
+ ntohl(asr->route_tag));
}
}