Updates
Some checks failed
Test compiling project / test (push) Failing after 0s

This commit is contained in:
2025-11-02 12:50:10 +01:00
parent f0e237cd71
commit 27ebbe22ac
14 changed files with 221 additions and 276 deletions

View File

@@ -17,7 +17,7 @@ void listNetworkInterfaces() {
}
void setEthernetAsDefault() {
logger.log(0, DEBUG, "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Logger.log(0, ELOG_LEVEL_DEBUG, "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
listNetworkInterfaces();
// Attempt to locate the Ethernet network interface.
// (The name may vary—on some systems it might be "eth0")
@@ -31,8 +31,8 @@ void setEthernetAsDefault() {
struct netif *eth_netif2 = netif_find("ETH_DEF");
if (netif) {
netif_set_default(eth_netif2);
logger.log(0, DEBUG, "Ethernet set as default network interface.");
Logger.log(0, ELOG_LEVEL_DEBUG, "Ethernet set as default network interface.");
} else {
logger.log(0, DEBUG, "Could not find Ethernet netif.");
Logger.log(0, ELOG_LEVEL_DEBUG, "Could not find Ethernet netif.");
}
}