summaryrefslogtreecommitdiffhomepage
path: root/src/uapi.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-19 13:35:17 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-19 13:35:17 +0100
commitaf464cff00fb9b78499cf4875d687bfa33e12082 (patch)
tree6cb4b40d0301e4fb924d56551661d48de740b2dc /src/uapi.go
parentb5ae42349c4fd88022a63006060d72b03aa83b16 (diff)
Better naming of bind helpers
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 dc8be66..7ab3c4a 100644
--- a/src/uapi.go
+++ b/src/uapi.go
@@ -139,7 +139,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
return &IPCError{Code: ipcErrorInvalid}
}
device.net.port = uint16(port)
- if err := UpdateUDPListener(device); err != nil {
+ if err := updateBind(device); err != nil {
logError.Println("Failed to set listen_port:", err)
return &IPCError{Code: ipcErrorPortInUse}
}