Skip to content

Commit bf4a69f

Browse files
committed
[#3588] Removed useless check
1 parent 9a3dd31 commit bf4a69f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/bin/dhcp4/tests/classify_unittest.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,10 +1328,6 @@ TEST_F(ClassifyTest, requiredNotDefined) {
13281328
Pkt4Ptr resp = client.getContext().response_;
13291329
ASSERT_TRUE(resp);
13301330
EXPECT_EQ("10.0.0.10", resp->getYiaddr().toText());
1331-
1332-
// Check domain-name-servers option
1333-
OptionPtr opt = resp->getOption(DHO_DOMAIN_NAME_SERVERS);
1334-
EXPECT_FALSE(opt);
13351331
}
13361332

13371333
// This test checks the handling for the DROP special class.

src/bin/dhcp6/tests/classify_unittest.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,10 +2364,6 @@ TEST_F(ClassifyTest, requiredNotDefined) {
23642364
EXPECT_EQ(1, client.getLeaseNum());
23652365
Pkt6Ptr resp = client.getContext().response_;
23662366
ASSERT_TRUE(resp);
2367-
2368-
// Check dns-servers option
2369-
OptionPtr opt = resp->getOption(D6O_NAME_SERVERS);
2370-
EXPECT_FALSE(opt);
23712367
}
23722368

23732369
// This test checks the complex membership from HA with server1 telephone.

0 commit comments

Comments
 (0)