]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Revert "tests/bgpd: initialized candidate_config to vtysh"
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 14 May 2021 12:36:24 +0000 (15:36 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 19 May 2021 08:04:22 +0000 (11:04 +0300)
This reverts commit 64fb3f86661c0f5ac2f9017a7b6b999dbcb8e2e4.

tests/bgpd/test_peer_attr.c

index e64f838de381c858d1cd61f9222f77bbfa4f7b26..b168be21c39375260e711b2668e5c949fa1a626f 100644 (file)
@@ -932,7 +932,7 @@ static struct test *test_new(const char *desc, bool use_ibgp,
 
        test->vty = vty_new();
        test->vty->type = VTY_TERM;
-       vty_config_enter(test->vty, true, false);
+       test->vty->node = CONFIG_NODE;
 
        test_initialize(test);