From 17eebc7e8db33ac8f9035ff8caa32d38e5080e3c Mon Sep 17 00:00:00 2001 From: baozhen-H3C Date: Fri, 18 Oct 2024 13:49:13 +0800 Subject: [PATCH] Update isisd.c Signed-off-by: baozhen-H3C --- isisd/isisd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isisd/isisd.c b/isisd/isisd.c index 12a7fe530446..aecf88bb0c62 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -1043,8 +1043,8 @@ int show_isis_interface_common_json(struct json_object *json, for (ALL_LIST_ELEMENTS_RO(area->circuit_list, cnode, circuit)) { circuit_json = json_object_new_object(); - if (!ifname || strcmp(circuit->interface->name, ifname) == - 0) { + if (!ifname || + strcmp(circuit->interface->name, ifname) == 0) { isis_circuit_print_json(circuit, circuit_json, detail);