string b_3 = "192.0.3.15,dd:de:ba:0d:1b:2e:3e:4f,0a:00:01:04,"
"100,150,7,0,0,,1,\n";
- // This one should be invalid, no hardware address or client id
+ // This one should be invalid, no hardware address or client id
// and state is not declined
string c_1 = "192.0.2.3,,,"
"200,200,8,1,1,host.example.com,0,\n";
-// Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
EXPECT_FALSE(lease->getContext());
}
- // Second lease is malformed - has no HW address or client id and state
+ // Second lease is malformed - has no HW address or client id and state
// is not declined.
{
SCOPED_TRACE("Second lease malformed");
ASSERT_TRUE(lease->hwaddr_);
EXPECT_TRUE(lease->hwaddr_->hwaddr_.empty());
ASSERT_FALSE(lease->client_id_);
- EXPECT_EQ(lease->state_, Lease::STATE_DECLINED);
+ EXPECT_EQ(lease->state_, Lease::STATE_DECLINED);
}
// There are no more leases. Reading should cause no error, but the returned
}
// Verifies that leases with no DUID are invalid, and that leases
-// with the "Empty" DUID (1 byte duid = 0x0) are valid only when
+// with the "Empty" DUID (1 byte duid = 0x0) are valid only when
// in the declined state.
TEST_F(CSVLeaseFile6Test, declinedLeaseTest) {
io_.writeFile("address,duid,valid_lifetime,expire,subnet_id,"