]> git.puffer.fish Git - mirror/frr.git/commit
isisd: adjust the format of display command 15917/head
authoranlan_cs <anlan_cs@tom.com>
Fri, 3 May 2024 15:04:05 +0000 (23:04 +0800)
committeranlan_cs <anlan_cs@tom.com>
Fri, 3 May 2024 15:41:36 +0000 (23:41 +0800)
commitfa4ad1f347f03bf70a3a6df916811de7981ec718
tree1a1d3513f2c58c743a042dc26072c8e057a603b0
parent53820a5753c63bf30b6346fc39ce879a9c2abccf
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>
isisd/isis_adjacency.c
isisd/isisd.c