|
@@ -121,7 +121,6 @@ func (m *MDNSHost) Scan(timeout int, domainFilter string) []*NetworkHost {
|
|
|
go func(results <-chan *zeroconf.ServiceEntry) {
|
|
|
for entry := range results {
|
|
|
if domainFilter == "" {
|
|
|
-
|
|
|
//This is a ArOZ Online Host
|
|
|
//Split the required information out of the text element
|
|
|
TEXT := entry.Text
|
|
@@ -159,7 +158,7 @@ func (m *MDNSHost) Scan(timeout int, domainFilter string) []*NetworkHost {
|
|
|
|
|
|
} else {
|
|
|
if stringInSlice("domain="+domainFilter, entry.Text) {
|
|
|
- //This is a ArOZ Online Host
|
|
|
+ //This is generic scan request
|
|
|
//Split the required information out of the text element
|
|
|
TEXT := entry.Text
|
|
|
properties := map[string]string{}
|