Use address.Range instead of (start,end) pairs
This commit is contained in:
1 parent
1e71d2dacb
commit
e21f66db0a
9 files changed
+107
-100
No files matched your search
@@ -173,7 +173,7 @@ func TestCancel(t *testing.T) {
|
||||
alloc1, subnet := makeAllocator("01:00:00:02:00:00", CIDR, 2)
|
||||
alloc1.SetInterfaces(router.connect(alloc1.ourName, alloc1))
|
||||
|
||||
alloc2, subnet := makeAllocator("02:00:00:02:00:00", CIDR, 2)
|
||||
alloc2, _ := makeAllocator("02:00:00:02:00:00", CIDR, 2)
|
||||
alloc2.SetInterfaces(router.connect(alloc2.ourName, alloc2))
|
||||
alloc1.claimRingForTesting(alloc1, alloc2)
|
||||
alloc2.claimRingForTesting(alloc1, alloc2)
|
||||
|
||||
Reference in new issue
Block a user