xbmc/xbmc — pull request #1228 by odon (2012-07-30 11:03:43+00:00)
Title: Name Resolution priority change

My NAS has multiple interfaces which provide samba shares on different independent networks.

nmblookup returns all IP but XBMC only get the last one. If this IP is the not on reachable from XBMC client network, source scanning does not work. Therefore, this patch prioritize IP lookup by DNS to nmblookup.