Skip to content

Commit b3d21c5

Browse files
committed
fix(net): Add back the friend classes required for Ethernet.h to work
1 parent 4db2edd commit b3d21c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: cores/esp32/IPAddress.h

+3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ class IPAddress : public Printable {
124124
friend class UDP;
125125
friend class Client;
126126
friend class Server;
127+
friend class EthernetClass;
128+
friend class DhcpClass;
129+
friend class DNSClient;
127130

128131
protected:
129132
bool fromString4(const char *address);

0 commit comments

Comments
 (0)