diff options
author | David Schweizer <dschweizer@opensourcerouting.org> | 2021-06-14 08:21:42 +0200 |
---|---|---|
committer | David Schweizer <dschweizer@opensourcerouting.org> | 2021-06-14 08:21:42 +0200 |
commit | d6265808f46eca787f6816ed2e4c684caf05e75b (patch) | |
tree | a857b060bf45e67952cf9dc5c712f171e65b27d0 /ospf6d/ospf6_lsa.c | |
parent | Merge pull request #8841 from volta-networks/fix_ospf6_bad_seqnum (diff) | |
download | frr-d6265808f46eca787f6816ed2e4c684caf05e75b.tar.xz frr-d6265808f46eca787f6816ed2e4c684caf05e75b.zip |
ospf6d: consistent checksum json output
Changed LSA checksum JSON output variable name from "checkSum" to
"checksum" to maintain consistency.
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r-- | ospf6d/ospf6_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index d62719425..bab5fdaae 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -659,7 +659,7 @@ void ospf6_lsa_show(struct vty *vty, struct ospf6_lsa *lsa, adv_router); json_object_int_add(json_obj, "lsSequenceNumber", (unsigned long)ntohl(lsa->header->seqnum)); - json_object_int_add(json_obj, "checkSum", + json_object_int_add(json_obj, "checksum", ntohs(lsa->header->checksum)); json_object_int_add(json_obj, "length", ntohs(lsa->header->length)); |