Use address.Range instead of (start,end) pairs

This commit is contained in:
Bryan Boreham committed 2015-06-10 17:24:36 +01:00
1 parent 1e71d2dacb
commit e21f66db0a
9 files changed
+107 -100

No files matched your search

+1 -1
View File
@@ -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)