Commit a21afdff authored by Francis Dupont's avatar Francis Dupont
Browse files

[3881] Added a config commit

parent 8ab6d170
......@@ -2403,6 +2403,9 @@ TEST_F(HooksDhcpv4SrvTest, subnet4SelectSimple) {
comment_ = config::parseAnswer(rcode_, status);
ASSERT_EQ(0, rcode_);
// Commit the config
CfgMgr::instance().commit();
// Prepare discover packet. Server should select first subnet for it
Pkt4Ptr sol = Pkt4Ptr(new Pkt4(DHCPDISCOVER, 1234));
sol->setRemoteAddr(IOAddress("192.0.2.1"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment