From 7548eaefad9b86293f1ff779def4565dd817c163 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 14 May 2021 15:36:24 +0300 Subject: [PATCH] Revert "tests/bgpd: initialized candidate_config to vtysh" This reverts commit 64fb3f86661c0f5ac2f9017a7b6b999dbcb8e2e4. --- tests/bgpd/test_peer_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bgpd/test_peer_attr.c b/tests/bgpd/test_peer_attr.c index e64f838de3..b168be21c3 100644 --- a/tests/bgpd/test_peer_attr.c +++ b/tests/bgpd/test_peer_attr.c @@ -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); -- 2.39.5