Commit 7a727155 authored by Francis Dupont's avatar Francis Dupont Committed by Marcin Siodelski
Browse files

[5515] Fixed adjustIfaceDataUseRouting unit test

parent a1de5126
......@@ -339,9 +339,11 @@ TEST_F(Dhcpv4SrvTest, adjustIfaceDataUseRouting) {
// No specific interface is selected as outbound interface and no specific
// local address is provided. The IfaceMgr will figure out which interface to use.
EXPECT_TRUE(resp->getLocalAddr().isV4Zero());
EXPECT_TRUE(resp->getIface().empty());
EXPECT_FALSE(resp->indexSet());
// Fixed in #5515 so now the interface name is never empty.
EXPECT_FALSE(resp->getIface().empty());
// Another test verifies that setting outbound interface to same as inbound will
// cause the server to set interface and local address as expected.
......
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