summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
authoranlan_cs <anlan_cs@tom.com>2024-05-03 23:04:05 +0800
committeranlan_cs <anlan_cs@tom.com>2024-05-03 23:41:36 +0800
commitfa4ad1f347f03bf70a3a6df916811de7981ec718 (patch)
tree1a1d3513f2c58c743a042dc26072c8e057a603b0 /isisd/isisd.c
parent53820a5753c63bf30b6346fc39ce879a9c2abccf (diff)
isisd: adjust the format of display command
Before: ``` anlan# show isis neighbor Area xx: System Id Interface L State Holdtime SNPA 0023.0000.0000 enp1s0 2 Down Expiring2c53.4a30.0820 ``` After: ``` anlan# show isis neighbor Area xx: System Id Interface L State Holdtime SNPA 0023.0000.0000 enp1s0 2 Down Expiring 2c53.4a30.0820 ``` The `-` display format caused by no hello packet in `isis_adj_print_vty()` is same as that of above "Expiring". Signed-off-by: anlan_cs <anlan_cs@tom.com>
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 772eb9708d..c1eda4822a 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -1318,7 +1318,7 @@ static void isis_neighbor_common_vty(struct vty *vty, const char *id,
if (detail == ISIS_UI_LEVEL_BRIEF)
vty_out(vty,
- " System Id Interface L State Holdtime SNPA\n");
+ " System Id Interface L State Holdtime SNPA\n");
for (ALL_LIST_ELEMENTS_RO(area->circuit_list, cnode, circuit)) {
if (circuit->circ_type == CIRCUIT_T_BROADCAST) {