|
@@ -2663,6 +2663,8 @@ TEST_F(Dhcpv4SrvTest, statisticsUnknownRcvd) {
|
|
// This test verifies that the server is able to handle an empty client-id
|
|
// This test verifies that the server is able to handle an empty client-id
|
|
// in incoming client message.
|
|
// in incoming client message.
|
|
TEST_F(Dhcpv4SrvTest, emptyClientId) {
|
|
TEST_F(Dhcpv4SrvTest, emptyClientId) {
|
|
|
|
+ IfaceMgrTestConfig test_config(true);
|
|
|
|
+ IfaceMgr::instance().openSockets4();
|
|
Dhcp4Client client;
|
|
Dhcp4Client client;
|
|
|
|
|
|
EXPECT_NO_THROW(configure(CONFIGS[0], *client.getServer()));
|
|
EXPECT_NO_THROW(configure(CONFIGS[0], *client.getServer()));
|