]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: fix show_ip_ospf_gr_helper
authorteletajp <teletajp@yandex.ru>
Wed, 1 Nov 2023 09:25:07 +0000 (12:25 +0300)
committerteletajp <teletajp@yandex.ru>
Wed, 15 Nov 2023 13:18:46 +0000 (16:18 +0300)
commit62754e102965ed0cef1d0d8819514391e6629e3e
treee6a4457bca00ee93a424322e026ba3dbdf401bea
parent644386fe4824a9d0fbf02fe7df2de7fcb1fc2173
ospfd: fix show_ip_ospf_gr_helper

Fix for the command "show ip ospf vrf NAME graceful-restart helper".
FRR did not show information by vrf's name.
If i have router ospf vrf red, vtysh's command
'show ip ospf vrf red graceful-restart helper' will not show anything.
But command 'show ip ospf vrf all graceful-restart helper' will work
normally. This fix fixes the display of information by vrf's name.

Example:
frr1# show ip ospf vrf vrf-1 graceful-restart helper
VRF Name: vrf-1

       OSPF Router with ID (192.168.255.81)

 Graceful restart helper support enabled.
 Strict LSA check is enabled.
 Helper supported for Planned and Unplanned Restarts.
 Supported Graceful restart interval: 1800(in seconds).

Signed-off-by: teletajp <teletajp@yandex.ru>
ospfd/ospf_vty.c