]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: fix missing max-metric in show running config
authoranlan_cs <vic.lan@pica8.com>
Tue, 25 Oct 2022 06:48:06 +0000 (02:48 -0400)
committeranlan_cs <vic.lan@pica8.com>
Wed, 26 Oct 2022 12:50:17 +0000 (08:50 -0400)
commit6c3aae9c56a7321fe4b6a6272ab1758978bd2c96
tree1c0d33a9ce667ed47dfc1a0430d2ef8ee3f41e3b
parent695f387ed872c1bc55ad4149ede95465b48697b9
ospfd: fix missing max-metric in show running config

```
(ospf)  max-metric router-lsa administrative
```

Currently this running config depends at least one `area` with *active*
`network`, otherwise it will not occur.

The check on this dependency is redundant and wrong, just remove it.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
ospfd/ospf_vty.c