Skip to content

Commit d239597

Browse files
fixing EthernetServer class
1 parent 552a153 commit d239597

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/Ethernet/src/EthernetServer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66
class EthernetServer: public lwipServer {
77
public:
8+
EthernetServer(uint16_t port) : lwipServer(port) {}
89
void begin() {
910
lwipServer::begin();
10-
this->bindCNetIf(WiFi);
11+
this->bindCNetIf(Ethernet);
1112
}
1213

1314
EthernetClient available() {

0 commit comments

Comments
 (0)