From d6265808f46eca787f6816ed2e4c684caf05e75b Mon Sep 17 00:00:00 2001 From: David Schweizer Date: Mon, 14 Jun 2021 08:21:42 +0200 Subject: [PATCH] ospf6d: consistent checksum json output Changed LSA checksum JSON output variable name from "checkSum" to "checksum" to maintain consistency. Signed-off-by: David Schweizer --- ospf6d/ospf6_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index d627194252..bab5fdaae8 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)); -- 2.39.5