diff --git a/libraries/Ethernet/examples/AdvancedChatServer/AdvancedChatServer.ino b/libraries/Ethernet/examples/AdvancedChatServer/AdvancedChatServer.ino index 1c7ec4cabd8..2fbd8a014a9 100644 --- a/libraries/Ethernet/examples/AdvancedChatServer/AdvancedChatServer.ino +++ b/libraries/Ethernet/examples/AdvancedChatServer/AdvancedChatServer.ino @@ -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: diff --git a/libraries/Ethernet/examples/ChatServer/ChatServer.ino b/libraries/Ethernet/examples/ChatServer/ChatServer.ino index 927a60e1be2..1f960fce8d5 100644 --- a/libraries/Ethernet/examples/ChatServer/ChatServer.ino +++ b/libraries/Ethernet/examples/ChatServer/ChatServer.ino @@ -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: