From 82bcd391cd4703d4888d9c59e27271688ff1eda3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 26 Oct 2022 16:50:58 -0500 Subject: [PATCH] Fix those refs --- src/mesh/eth/ethClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/eth/ethClient.cpp b/src/mesh/eth/ethClient.cpp index cbfc1c554..793a86125 100644 --- a/src/mesh/eth/ethClient.cpp +++ b/src/mesh/eth/ethClient.cpp @@ -100,7 +100,7 @@ bool initEthernet() status = Ethernet.begin(mac); } else if (config.network.eth_mode == Config_NetworkConfig_EthMode_STATIC) { DEBUG_MSG("starting Ethernet Static\n"); - Ethernet.begin(mac, config.network.eth_config.ip, config.network.eth_config.dns, config.network.eth_config.subnet); + Ethernet.begin(mac, config.network.ipv4_config.ip, config.network.ipv4_config.dns, config.network.ipv4_config.subnet); } else { DEBUG_MSG("Ethernet Disabled\n"); return false;