We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd50f45 commit 7245be6Copy full SHA for 7245be6
src/STM32Ethernet.cpp
@@ -182,4 +182,9 @@ IPAddress EthernetClass::dnsServerIP()
182
return _dnsServerAddress;
183
}
184
185
+void EthernetClass::setDnsServerIP(const IPAddress dns_server)
186
+{
187
+ _dnsServerAddress = dns_server;
188
+}
189
+
190
EthernetClass Ethernet;
src/STM32Ethernet.h
@@ -50,6 +50,8 @@ class EthernetClass {
50
IPAddress gatewayIP();
51
IPAddress dnsServerIP();
52
53
+ void setDnsServerIP(const IPAddress dns_server);
54
55
friend class EthernetClient;
56
friend class EthernetServer;
57
};
0 commit comments