Commit 58ff92d3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

lua: rc: Accept backward compatible hosts

refs #19871

(cherry picked from commit a996a926)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 0703aa6b
......@@ -254,6 +254,9 @@ function host()
h:listen_stdio()
else
u = vlc.strings.url_parse( url )
if url.host == nil then
u = vlc.strings.url_parse( "//" .. url )
end
h:listen_tcp( u.host, u.port, (u.protocol == "telnet") )
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment