diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-31 12:49:55 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-01-31 12:51:18 -0500 |
| commit | 0939509df9f55d4a6a2b3b8fa7ad7378cac44bcd (patch) | |
| tree | 60c702c39dd01c4d7f6fa4af3c2592fe18e8c009 | |
| parent | a9155261f76da3923d6c3e8cd98026121cd05c75 (diff) | |
ospfd: Convert output to host order from network order for route_tag
FRR stores the route_tag in network byte order. Bug filed indicates
that the `show ip ospf route` command shows the correct value.
Every place route_tag is dumped in ospf_vty.c the ntohl function
is used first.
Fixes: #10450
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -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)); } } |
