diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-31 22:50:48 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-31 22:50:48 +0300 |
| commit | ff8b960c1c75da154b1b77e639926294a2d45ff9 (patch) | |
| tree | 0521924d89a8c6b54db3034accb631dc78c41343 /ospfd/ospf_dump.c | |
| parent | 778b4d6452d7e671d730693fad94d1c4a7cd8b5d (diff) | |
| parent | 0939509df9f55d4a6a2b3b8fa7ad7378cac44bcd (diff) | |
Merge pull request #10451 from donaldsharp/route_tag_ntohlbase_8.2
ospfd: Convert output to host order from network order for route_tag
Diffstat (limited to 'ospfd/ospf_dump.c')
| -rw-r--r-- | ospfd/ospf_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index 2f7556f7ff..f40d056742 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)); } } |
