mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-06 00:57:23 +08:00
Fix refactoring mistakes
This commit is contained in:
2
uapi.go
2
uapi.go
@@ -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)
|
||||
|
Reference in New Issue
Block a user