Skip to content

Commit 755ca5d

Browse files
committed
Fix cut and paste error
1 parent b558129 commit 755ca5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/IPAddress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ IPAddress& IPAddress::operator=(uint32_t address)
107107
return *this;
108108
}
109109

110-
bool IPAddress::operator==(const uint8_t* addr) const
110+
bool IPAddress::operator==(const IPAddress& addr) const
111111
{
112112
return (addr._type == _type)
113113
&& (memcmp(addr._address.bytes, _address.bytes, sizeof(_address.bytes)) == 0);

0 commit comments

Comments
 (0)