Drop unneeded code to simplify getting hosts over ubus
authorRafał Miłecki <rafal@milecki.pl>
Thu, 9 Mar 2017 21:17:32 +0000 (22:17 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 10 Mar 2017 10:53:25 +0000 (11:53 +0100)
This code in umdns_hosts was there since ever but it seems like an
unneeded copy & paste part of umdns_browse. In this function we iterate
over *host* entries of cached services list. It means the entry field
conains values like "example.local".

In such case looking for "._" is pointless and appending ".local"
results in looking for entries like "example.local.local".

This code make sense for browsing *services* only where for entries like
"ex._ssh._tcp.local" we try dumping "ex.local" & "ex._ssh._tcp.local".

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

No differences found