WIZNet W5500 with additional enhancements
Fork of WIZnetInterface by
Diff: arch/ext/W5500.cpp
- Revision:
- 34:7d44648ec5f2
- Parent:
- 33:879cfe51e66e
- Child:
- 35:fe3028eda085
--- a/arch/ext/W5500.cpp Sat Oct 07 22:10:01 2017 +0200
+++ b/arch/ext/W5500.cpp Mon Oct 09 19:58:19 2017 +0200
@@ -54,6 +54,7 @@
cs = 1;
reset_pin = 1;
inst = this;
+ dnsaddr = 0;
sock_any_port = SOCK_ANY_PORT_NUM;
}
@@ -125,7 +126,7 @@
return true;
}
DNSClient client;
- if(client.lookup(host)) {
+ if(client.lookup(host, dnsaddr)) {
*ip = client.ip;
return true;
}
Helmut Tschemernjak
