]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: add support for "no router-info [<area|as>] command" 15340/head
authorChristian Breunig <christian@breunig.cc>
Thu, 8 Feb 2024 21:39:04 +0000 (22:39 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 9 Feb 2024 11:48:34 +0000 (11:48 +0000)
commitf490d6f31849e67725bff7de4b2dad3ea7b5cedc
tree0c111cab2c8e0f3fd954ace16048a89f1e81f68c
parentb61bd36e770e2e996d06990b631e17bb3345de69
ospfd: add support for "no router-info [<area|as>] command"

frr-reload.py will walk through all config contexts and prepend no to the CLI
command. This requires that the vtysh shell code accepts a full command.

To Reproduce

vtysh -c "conf t" -c "router ospf" -c "router-info area"
vtysh -c "conf t" -c "router ospf" -c "no router-info area"
% Unknown command: no router-info area
vtysh -c "conf t" -c "router ospf" -c "no router-info"

Signed-off-by: Christian Breunig <christian@breunig.cc>
(cherry picked from commit e744db5098dcdca1bce32169aaa0703a21ab6b0c)
ospfd/ospf_ri.c