Fix refactoring mistakes

This commit is contained in:
Jason A. Donenfeld 2018-05-15 06:28:42 +02:00
parent 08d7602dc3
commit 27091c3284
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ func TestTrieRandomIPv4(t *testing.T) {
peer1 := slow.Lookup(addr[:])
peer2 := trie.lookup(addr[:])
if peer1 != peer2 {
t.Error("trieEntry did not match naive implementation, for:", addr)
t.Error("Trie did not match naive implementation, for:", addr)
}
}
}
@ -125,7 +125,7 @@ func TestTrieRandomIPv6(t *testing.T) {
peer1 := slow.Lookup(addr[:])
peer2 := trie.lookup(addr[:])
if peer1 != peer2 {
t.Error("trieEntry did not match naive implementation, for:", addr)
t.Error("Trie did not match naive implementation, for:", addr)
}
}
}

View file

@ -331,7 +331,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
case "replace_allowed_ips":
logDebug.Println("UAPI: Removing all allowed EntriesForPeer for peer:", peer)
logDebug.Println("UAPI: Removing all allowedips for peer:", peer)
if value != "true" {
logError.Println("Failed to set replace_allowed_ips, invalid value:", value)