30 lines
895 B
Diff
30 lines
895 B
Diff
diff --git a/repos/libports/include/lwip/nic_netif.h b/repos/libports/include/lwip/nic_netif.h
|
|
index 167abecb3f..426b17cf8b 100644
|
|
--- a/repos/libports/include/lwip/nic_netif.h
|
|
+++ b/repos/libports/include/lwip/nic_netif.h
|
|
@@ -17,6 +17,8 @@
|
|
#ifndef __LWIP__NIC_NETIF_H__
|
|
#define __LWIP__NIC_NETIF_H__
|
|
|
|
+#include <base/debug.h>
|
|
+
|
|
#if ETH_PAD_SIZE
|
|
#error ETH_PAD_SIZE defined but unsupported by lwip/nic_netif.h
|
|
#endif
|
|
@@ -194,6 +196,7 @@ class Lwip::Nic_netif
|
|
|
|
if (config.has_attribute("netmask")) {
|
|
Str str = config.attribute_value("netmask", Str());
|
|
+ PDBG("netmask is ", str);
|
|
ip_addr_t ip;
|
|
ipaddr_aton(str.string(), &ip);
|
|
netif_set_netmask(&_netif, ip_2_ip4(&ip));
|
|
@@ -205,7 +208,6 @@ class Lwip::Nic_netif
|
|
ipaddr_aton(str.string(), &ip);
|
|
netif_set_gw(&_netif, ip_2_ip4(&ip));
|
|
}
|
|
-
|
|
}
|
|
|
|
if (config.has_attribute("nameserver")) {
|