]> git.sesse.net Git - vlc/commitdiff
Bind RTSP to all interfaces by default (refs #270)
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 29 Jul 2005 16:24:52 +0000 (16:24 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 29 Jul 2005 16:24:52 +0000 (16:24 +0000)
modules/misc/rtsp.c

index e6573076d196e7341529a444b820b753d16f691f..f0eaecf9ce871e1c1179d5317c40f3be9687f238 100644 (file)
@@ -46,8 +46,8 @@ static void Close( vlc_object_t * );
 #define HOST_TEXT N_( "Host address" )
 #define HOST_LONGTEXT N_( \
     "You can set the address, port and path the rtsp interface will bind to." \
-    "\n Syntax is address:port/path. Default is to bind to localhost address "\
-    "on port 554, with no path. Use 0.0.0.0 to bind to all addresses." )
+    "\n Syntax is address:port/path. Default is to bind to any address "\
+    "on port 554, with no path." )
 vlc_module_begin();
     set_shortname( _("RTSP VoD" ) );
     set_description( _("RTSP VoD server") );
@@ -200,11 +200,6 @@ static int Open( vlc_object_t *p_this )
     vlc_UrlParse( &url, psz_url, 0 );
     if( psz_url ) free( psz_url );
 
-    if( !url.psz_host || !*url.psz_host )
-    {
-        if( url.psz_host ) free( url.psz_host );
-        url.psz_host = strdup( "localhost" );
-    }
     if( url.i_port <= 0 ) url.i_port = 554;
 
     p_vod->p_sys = p_sys = malloc( sizeof( vod_sys_t ) );