]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
uapi: remove unhelpful log messages
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 21 Mar 2019 05:40:20 +0000 (23:40 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 21 Mar 2019 05:40:20 +0000 (23:40 -0600)
device/uapi.go

index 195bd81cb91221ff35bf766c3b16360c1a7592fe..fb620484e1dc40f6311850d7db5cc9efdacc5859 100644 (file)
@@ -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: