]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: better error messages when not enabled in a vrf
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Wed, 16 Mar 2022 04:28:31 +0000 (23:28 -0500)
committerJafar Al-Gharaibeh <jafar@atcorp.com>
Wed, 16 Mar 2022 05:59:26 +0000 (00:59 -0500)
commitfbaafa0082572b2c1e776c833859528d1da16f1f
treed56f07af216adcb710bc7254658bcb08e80108b6
parent5d97021ba36666884c7caed69e3565e01f73eaf5
ospfd: better error messages when not enabled in a vrf

before:
```
r1# show ip ospf vrf blue
% OSPF instance not found

r1# show ip ospf vrf default
% OSPF instance not found

r1# show ip ospf
% OSPF instance not found
```

after:
```
r1# show ip ospf vrf blue
% OSPF is not enabled in vrf blue

r1# show ip ospf vrf default
% OSPF is not enabled in vrf default

r1# show ip ospf
% OSPF is not enabled in vrf default
```

Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
ospfd/ospf_vty.c