aboutsummaryrefslogtreecommitdiffstats
path: root/src/uapi.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-27 10:43:37 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-27 10:43:37 +0200
commit0485c34c8e20e4f7ea19bd3c3f52d2f4717caead (patch)
tree72c360fc84cb731bfa84fc627063debdf69ecd2c /src/uapi.go
parentFixed timer issue when failing to send handshake (diff)
downloadwireguard-go-0485c34c8e20e4f7ea19bd3c3f52d2f4717caead.tar.xz
wireguard-go-0485c34c8e20e4f7ea19bd3c3f52d2f4717caead.zip
Fixed message header length in conn_linux
Diffstat (limited to 'src/uapi.go')
-rw-r--r--src/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uapi.go b/src/uapi.go
index accffd1..5098e3d 100644
--- a/src/uapi.go
+++ b/src/uapi.go
@@ -135,7 +135,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
case "listen_port":
port, err := strconv.ParseUint(value, 10, 16)
if err != nil {
- logError.Println("Failed to set listen_port:", err)
+ logError.Println("Failed to parse listen_port:", err)
return &IPCError{Code: ipcErrorInvalid}
}
device.net.port = uint16(port)