From 98778ed01abac0fa8d6da92e0236a09328186e63 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 (cherry picked from commit d6265808f46eca787f6816ed2e4c684caf05e75b) --- 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 683e5ffc43..119738da4e 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -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)); -- 2.39.5