|
@@ -611,8 +611,7 @@ TEST_F(Dhcp4ParserTest, multipleSubnets) {
|
|
|
// This test checks that it is possible to assign arbitrary ids for subnets.
|
|
|
TEST_F(Dhcp4ParserTest, multipleSubnetsExplicitIDs) {
|
|
|
ConstElementPtr x;
|
|
|
- // Collection of four subnets for which subnet ids should be
|
|
|
- // autogenerated - ids are unspecified or set to 0.
|
|
|
+ // Four subnets with arbitrary subnet ids.
|
|
|
string config = "{ \"interfaces\": [ \"*\" ],"
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
@@ -673,8 +672,7 @@ TEST_F(Dhcp4ParserTest, multipleSubnetsExplicitIDs) {
|
|
|
// Check that the configuration with two subnets having the same id is rejected.
|
|
|
TEST_F(Dhcp4ParserTest, multipleSubnetsOverlapingIDs) {
|
|
|
ConstElementPtr x;
|
|
|
- // Collection of four subnets for which subnet ids should be
|
|
|
- // autogenerated - ids are unspecified or set to 0.
|
|
|
+ // Four subnets, two of them having the same id.
|
|
|
string config = "{ \"interfaces\": [ \"*\" ],"
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|