]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: add support for "no router-info [<area|as>] command"
authorChristian Breunig <christian@breunig.cc>
Thu, 8 Feb 2024 21:39:04 +0000 (22:39 +0100)
committerChristian Breunig <christian@breunig.cc>
Thu, 8 Feb 2024 21:40:54 +0000 (22:40 +0100)
commite744db5098dcdca1bce32169aaa0703a21ab6b0c
tree00b73d2d4810c01ba3c446918517e2233156384d
parent1bc2fa358485cce9ba21521f6cb1b70882fe54f6
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>
ospfd/ospf_ri.c