Skip to content

Commit af0d3f4

Browse files
committed
Ethernet: fix setDNS
1 parent 29b5ae4 commit af0d3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/src/CEthernet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int CEthernet::begin(IPAddress local_ip, IPAddress subnet, IPAddress gateway, IP
6565
}
6666

6767
/* -------------------------------------------------------------------------- */
68-
void setDNS(IPAddress dns_server) {
68+
void CEthernet::setDNS(IPAddress dns_server) {
6969
/* -------------------------------------------------------------------------- */
7070
CLwipIf::getInstance().addDns(dns_server);
7171
}

0 commit comments

Comments
 (0)