We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b80c2e1 commit 9832cfdCopy full SHA for 9832cfd
libraries/NetBIOS/src/NetBIOS.cpp
@@ -2,7 +2,7 @@
2
#include <functional>
3
extern "C" {
4
#include <lwip/netif.h>
5
-}; // extern "C"
+}; // extern "C"
6
7
#define NBNS_PORT 137
8
#define NBNS_MAX_HOSTNAME_LEN 32
@@ -94,7 +94,7 @@ void NetBIOS::_onPacket(AsyncUDPPacket &packet) {
94
append_32((void *)&nbnsa.ttl, 300000);
95
append_16((void *)&nbnsa.data_len, 6);
96
append_16((void *)&nbnsa.flags, 0);
97
- nbnsa.addr = packet.localIP(); // By default, should be overridden below
+ nbnsa.addr = packet.localIP(); // By default, should be overridden below
98
// Iterate over all netifs, see if the incoming address matches one of the netmaskes networks
99
for (auto netif = netif_list; netif; netif = netif->next) {
100
auto maskedip = ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif));
0 commit comments