Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
struct addrinfo *p_info = NULL;
/* Is this a netbios name on this LAN ? */
- if( netbios_ns_resolve( p_sys->p_ns, p_sys->url.psz_host, 0x20,
+ if( netbios_ns_resolve( p_sys->p_ns, p_sys->url.psz_host,
+ NETBIOS_FILESERVER,
&p_sys->addr.s_addr) )
{
strlcpy( p_sys->netbios_name, p_sys->url.psz_host, 16);
netbios_ns_entry *p_entry = netbios_ns_entry_at( p_sys->p_ns, i );
char type = netbios_ns_entry_type( p_entry );
- if( type == 0x20 )
+ if( type == NETBIOS_FILESERVER )
{
input_item_t *p_item;
char *psz_mrl;