Commit 65bad3ef authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Really listen to all IP addresses by default

parent 69f944d1
...@@ -78,7 +78,6 @@ static void Close( vlc_object_t * ); ...@@ -78,7 +78,6 @@ static void Close( vlc_object_t * );
#define TELNETHOST_TEXT N_( "Telnet Interface host" ) #define TELNETHOST_TEXT N_( "Telnet Interface host" )
#define TELNETHOST_LONGTEXT N_( "Default to listen on all network interfaces" ) #define TELNETHOST_LONGTEXT N_( "Default to listen on all network interfaces" )
#define TELNETHOST_DEFAULT "0.0.0.0"
#define TELNETPORT_TEXT N_( "Telnet Interface port" ) #define TELNETPORT_TEXT N_( "Telnet Interface port" )
#define TELNETPORT_LONGTEXT N_( "Default to 4212" ) #define TELNETPORT_LONGTEXT N_( "Default to 4212" )
#define TELNETPORT_DEFAULT 4212 #define TELNETPORT_DEFAULT 4212
...@@ -90,7 +89,7 @@ vlc_module_begin(); ...@@ -90,7 +89,7 @@ vlc_module_begin();
set_shortname( "Telnet" ); set_shortname( "Telnet" );
set_category( CAT_INTERFACE ); set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_GENERAL ); set_subcategory( SUBCAT_INTERFACE_GENERAL );
add_string( "telnet-host", TELNETHOST_DEFAULT, NULL, TELNETHOST_TEXT, add_string( "telnet-host", "", NULL, TELNETHOST_TEXT,
TELNETHOST_LONGTEXT, VLC_TRUE ); TELNETHOST_LONGTEXT, VLC_TRUE );
add_integer( "telnet-port", TELNETPORT_DEFAULT, NULL, TELNETPORT_TEXT, add_integer( "telnet-port", TELNETPORT_DEFAULT, NULL, TELNETPORT_TEXT,
TELNETPORT_LONGTEXT, VLC_TRUE ); TELNETPORT_LONGTEXT, VLC_TRUE );
......
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