We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640d0bb commit 7edcda4Copy full SHA for 7edcda4
cores/esp8266/IPAddress.h
@@ -56,6 +56,9 @@ class IPAddress: public Printable {
56
bool operator==(const IPAddress& addr) const {
57
return _address.dword == addr._address.dword;
58
}
59
+ bool operator==(uint32_t addr) const {
60
+ return _address.dword == addr;
61
+ }
62
bool operator==(const uint8_t* addr) const;
63
64
// Overloaded index operator to allow getting and setting individual octets of the address
0 commit comments