diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-11-19 13:35:17 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-11-19 13:35:17 +0100 |
commit | af464cff00fb9b78499cf4875d687bfa33e12082 (patch) | |
tree | 6cb4b40d0301e4fb924d56551661d48de740b2dc /src/uapi.go | |
parent | b5ae42349c4fd88022a63006060d72b03aa83b16 (diff) |
Better naming of bind helpers
Diffstat (limited to 'src/uapi.go')
-rw-r--r-- | src/uapi.go | 2 |
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} } |