]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#651,!384] Fixed unit test
authorThomas Markwalder <tmark@isc.org>
Fri, 28 Jun 2019 17:55:39 +0000 (13:55 -0400)
committerThomas Markwalder <tmark@isc.org>
Fri, 28 Jun 2019 17:55:39 +0000 (13:55 -0400)
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc

index bc01cbb30ba6aa0b5144ba34d2291f60a0c1727f..765a86948e6b8d971be3175dda6105aa1effb64f 100644 (file)
@@ -1572,14 +1572,14 @@ GenericLeaseMgrTest::testLease6LargeIaidCheck() {
 
     DuidPtr duid(new DUID(vector<uint8_t>(8, 0x77)));
     IOAddress addr(std::string("2001:db8:1::111"));
-    SubnetID subnet_id = 8; // radom number
+    SubnetID subnet_id = 8; // random number
 
     // Use a value we know is larger than 32-bit signed max.
     uint32_t large_iaid = 0xFFFFFFFE;
 
     // We should be able to add with no problems.
     Lease6Ptr lease(new Lease6(Lease::TYPE_NA, addr, duid, large_iaid,
-                               100, 200, 0, 0, subnet_id));
+                               100, 200, subnet_id));
     ASSERT_TRUE(lmptr_->addLease(lease));
 
     // Sanity check that we added it.