Commit 7187a7e9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove the 1234 default UDP port hack

None of the three net_ConnectDgram call paths use this hack anymore.
Signed-off-by: default avatarRémi Denis-Courmont <rem@videolan.org>
parent ee264518
...@@ -618,9 +618,6 @@ int __net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port, ...@@ -618,9 +618,6 @@ int __net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port,
int i_val, i_handle = -1; int i_val, i_handle = -1;
vlc_bool_t b_unreach = VLC_FALSE; vlc_bool_t b_unreach = VLC_FALSE;
if( i_port == 0 )
i_port = 1234; /* historical VLC thing */
if( i_hlim < 1 ) if( i_hlim < 1 )
i_hlim = var_CreateGetInteger( p_this, "ttl" ); i_hlim = var_CreateGetInteger( p_this, "ttl" );
......
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