Skip to content

Commit

Permalink
Update isisd.c
Browse files Browse the repository at this point in the history
Signed-off-by: baozhen-H3C <[email protected]>
  • Loading branch information
baozhen-H3C authored Oct 18, 2024
1 parent 3b4b35d commit 17eebc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isisd/isisd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 17eebc7

Please sign in to comment.