Create struct ipList from ip listening list

This commit is contained in:
Kleissner
2021-10-18 01:10:40 +02:00
parent 1b9151d6fd
commit e2542b3a4d
6 changed files with 60 additions and 44 deletions

View File

@@ -114,7 +114,7 @@ func (network *Network) MulticastIPv6Listen() {
}
// skip incoming packets that were looped back
if IsAddressSelf(sender.(*net.UDPAddr)) {
if networks.ipListen.IsAddressSelf(sender.(*net.UDPAddr)) {
continue
}