From e4e10ba0882885606e08c6a3079d6e769c698105 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 27 Feb 2018 19:54:49 +0100 Subject: [PATCH] fix: attempt to blindly fix #95 --- network/lan.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/lan.go b/network/lan.go index 12f5e4b2..b33979f7 100644 --- a/network/lan.go +++ b/network/lan.go @@ -125,11 +125,11 @@ func (lan *LAN) Remove(ip, mac string) { func (lan *LAN) shouldIgnore(ip, mac string) bool { // skip our own address - if ip == lan.iface.IpAddress { + if ip == lan.iface.IpAddress || mac == lan.iface.HwAddress { return true } // skip the gateway - if ip == lan.gateway.IpAddress { + if ip == lan.gateway.IpAddress || mac == lan.gateway.HwAddress { return true } // skip broadcast addresses