summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--device/allowedips_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/device/allowedips_test.go b/device/allowedips_test.go
index 27028a6..695a112 100644
--- a/device/allowedips_test.go
+++ b/device/allowedips_test.go
@@ -20,26 +20,6 @@ type testPairCommonBits struct {
match uint
}
-type testPairTrieInsert struct {
- key []byte
- cidr uint
- peer *Peer
-}
-
-type testPairTrieLookup struct {
- key []byte
- peer *Peer
-}
-
-func printTrie(t *testing.T, p *trieEntry) {
- if p == nil {
- return
- }
- t.Log(p)
- printTrie(t, p.child[0])
- printTrie(t, p.child[1])
-}
-
func TestCommonBits(t *testing.T) {
tests := []testPairCommonBits{