]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: Don't attempt to reconnect the non-instanced ospf process 3371/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 21 Nov 2018 21:13:25 +0000 (16:13 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 21 Nov 2018 21:15:38 +0000 (16:15 -0500)
commitb2443937b06d79f1caa46cdb7625e3d6831b2166
tree2453ec6f035aa56fa7978383b795693982fc1e3b
parentd482ae5912d34ca5e05865d3ddb9397ecd9cc9ee
vtysh: Don't attempt to reconnect the non-instanced ospf process

When running ospf instances we should not attempt to reconnect
the default ospf instance on running a command.

This commit should be targeted enough because in the case
of normal operation we connect to everything we should
and only set the VTYSH_WAS_ACTIVE flag for those we
truly have lost connection too.

Before:

donna.cumulusnetworks.com# config t
donna.cumulusnetworks.com(config)# router ospf 100
Warning: connecting to ospfd...failed!
donna.cumulusnetworks.com(config-router)#

After:
donna.cumulusnetworks.com# conf t
donna.cumulusnetworks.com(config)# router ospf 100
donna.cumulusnetworks.com(config-router)# end
donna.cumulusnetworks.com#

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/vtysh.c