aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-20 23:40:20 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-20 23:40:20 -0600
commitc050c6e60fc0207c063005e0cadded13195bd4c0 (patch)
tree6c77ce86d6727178ee5a58215b2d3c0a9971a797
parentwintun: Use native Win32 API for I/O (diff)
downloadwireguard-go-c050c6e60fc0207c063005e0cadded13195bd4c0.tar.xz
wireguard-go-c050c6e60fc0207c063005e0cadded13195bd4c0.zip
uapi: remove unhelpful log messages
-rw-r--r--device/uapi.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/device/uapi.go b/device/uapi.go
index 195bd81..fb62048 100644
--- a/device/uapi.go
+++ b/device/uapi.go
@@ -30,11 +30,6 @@ func (s IPCError) ErrorCode() int64 {
}
func (device *Device) IpcGetOperation(socket *bufio.Writer) *IPCError {
-
- device.log.Debug.Println("UAPI: Processing get operation")
-
- // create lines
-
lines := make([]string, 0, 100)
send := func(line string) {
lines = append(lines, line)
@@ -403,11 +398,9 @@ func (device *Device) IpcHandle(socket net.Conn) {
switch op {
case "set=1\n":
- device.log.Debug.Println("UAPI: Set operation")
status = device.IpcSetOperation(buffered.Reader)
case "get=1\n":
- device.log.Debug.Println("UAPI: Get operation")
status = device.IpcGetOperation(buffered.Writer)
default: