[fix] calibrecompanion.plugin (#3799)

Fixes #3794. 

Upstream luasocket 96965b179c switched from just `socket.udp()` to `socket.udp4()` and `socket.udp6()`.
pull/3800/head
Frans de Jonge 6 years ago committed by GitHub
parent 680b53e347
commit 3838aab169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save