[fix] calibrecompanion.plugin (#3799)
Fixes #3794. Upstream luasocket https://github.com/diegonehab/luasocket/commit/96965b179c7311f850f72a8629b9ba6d3a31d117 switched from just `socket.udp()` to `socket.udp4()` and `socket.udp6()`.
This commit is contained in:
1 parent
680b53e347
commit
3838aab169
1 file changed
+1
-1
@@ -61,7 +61,7 @@ end
|
||||
|
||||
function CalibreCompanion:find_calibre_server()
|
||||
local socket = require("socket")
|
||||
local udp = socket.udp()
|
||||
local udp = socket.udp4()
|
||||
udp:setoption("broadcast", true)
|
||||
udp:setsockname("*", 8134)
|
||||
udp:settimeout(3)
|
||||
|
||||
Reference in new issue
Block a user