Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EthernetClient clients[4];

void setup() {
// initialize the ethernet device
Ethernet.begin(mac, ip, gateway, subnet);
Ethernet.begin(mac, ip, gateway, gateway, subnet);
// start listening for clients
server.begin();
// Open serial communications and wait for port to open:
Expand Down
2 changes: 1 addition & 1 deletion libraries/Ethernet/examples/ChatServer/ChatServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ boolean alreadyConnected = false; // whether or not the client was connected pre

void setup() {
// initialize the ethernet device
Ethernet.begin(mac, ip, gateway, subnet);
Ethernet.begin(mac, ip, gateway, gateway, subnet);
// start listening for clients
server.begin();
// Open serial communications and wait for port to open:
Expand Down