[vlc-commits] Add port range to LUA telnet

Kaarlo Raiha git at videolan.org
Mon Mar 26 18:50:03 CEST 2012


vlc | branch: master | Kaarlo Raiha <kaarlo.raiha at gmail.com> | Mon Mar 26 18:49:50 2012 +0200| [8f56ee23501f378987838ba2c016110b73eed1fb] | committer: Jean-Baptiste Kempf

Add port range to LUA telnet

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f56ee23501f378987838ba2c016110b73eed1fb
---

 modules/lua/vlc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index a54bdca..b6d2a1d 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -117,6 +117,7 @@ vlc_module_begin ()
                         TELNETHOST_LONGTEXT, true )
             add_integer( "telnet-port", TELNETPORT_DEFAULT, TELNETPORT_TEXT,
                          TELNETPORT_LONGTEXT, true )
+                change_integer_range( 1, 65535 )
             add_password( "telnet-password", NULL, TELNETPWD_TEXT,
 
                           TELNETPWD_LONGTEXT, true )



More information about the vlc-commits mailing list