This commit is contained in:
Adam Ierymenko 2019-06-17 15:50:11 -07:00
commit f0295b154b

View file

@ -158,8 +158,10 @@ public:
{ {
memset(_ifname, 0, 16); memset(_ifname, 0, 16);
memset(_addrString, 0, sizeof(_addrString)); memset(_addrString, 0, sizeof(_addrString));
if (_localSocket != -1) {
_phy->getIfName((PhySocket *) ((uintptr_t) _localSocket), _ifname, 16); _phy->getIfName((PhySocket *) ((uintptr_t) _localSocket), _ifname, 16);
} }
}
/** /**
* Called when a packet is received from this remote path, regardless of content * Called when a packet is received from this remote path, regardless of content