Skip to content

Commit 2535523

Browse files
committed
Ethernet.h setDnsServerIP added
1 parent 73bb4c9 commit 2535523

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Ethernet.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ class UIPEthernetClass
9898
IPAddress gatewayIP();
9999
IPAddress dnsServerIP();
100100

101+
void setDnsServerIP(const IPAddress dns_server) { _dnsServerAddress = dns_server; }
102+
101103
private:
102104
static bool initialized;
103105
static memhandle in_packet;

0 commit comments

Comments
 (0)