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

Increase MTU too lowest legal MTU when it is really too small

parent 78651e74
......@@ -277,7 +277,7 @@ static int Open( vlc_object_t *p_this )
/* FIXME */
p_sys->i_mtu = var_CreateGetInteger( p_access, "mtu" );
if( p_sys->i_mtu <= 1 )
p_sys->i_mtu = 1500; /* Avoid problem */
p_sys->i_mtu = 576 - 20 - 8; /* Avoid problem */
p_sys->b_auto_mtu = var_CreateGetBool( p_access, "udp-auto-mtu" );;
}
......
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