]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: consistent checksum json output 9119/head
authorDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 14 Jun 2021 06:21:42 +0000 (08:21 +0200)
committermergify-bot <noreply@mergify.io>
Thu, 22 Jul 2021 17:30:16 +0000 (17:30 +0000)
Changed LSA checksum JSON output variable name from "checkSum" to
"checksum" to maintain consistency.

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
(cherry picked from commit d6265808f46eca787f6816ed2e4c684caf05e75b)

ospf6d/ospf6_lsa.c

index 683e5ffc434145cbc911254b194ba9c60f214011..119738da4e1bdbff9b761191d26c948d4c36759e 100644 (file)
@@ -658,7 +658,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));