mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Use break instead of continue.
This commit is contained in:
@@ -273,7 +273,7 @@ func (s *DNSSnooper) processDNSMessage(dns *layers.DNS) {
|
||||
for _, alias := range aliases {
|
||||
if bytes.Equal(alias, record.Name) {
|
||||
ips[record.IP.String()] = struct{}{}
|
||||
continue
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user