This commit is contained in:
evilsocket 2018-02-01 21:28:19 +01:00
commit 80bbd2a0a0
3 changed files with 3 additions and 3 deletions

View file

@ -153,7 +153,7 @@ func (tp *Targets) Has(ip string) bool {
return false
}
func (tp *Targets) AddIfNotExist(ip, mac string) *net.Endpoint {
func (tp *Targets) AddIfNew(ip, mac string) *net.Endpoint {
tp.Lock()
defer tp.Unlock()