Skip to content

Commit 9832cfd

Browse files
ci(pre-commit): Apply automatic fixes
1 parent b80c2e1 commit 9832cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/NetBIOS/src/NetBIOS.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <functional>
33
extern "C" {
44
#include <lwip/netif.h>
5-
}; // extern "C"
5+
}; // extern "C"
66

77
#define NBNS_PORT 137
88
#define NBNS_MAX_HOSTNAME_LEN 32
@@ -94,7 +94,7 @@ void NetBIOS::_onPacket(AsyncUDPPacket &packet) {
9494
append_32((void *)&nbnsa.ttl, 300000);
9595
append_16((void *)&nbnsa.data_len, 6);
9696
append_16((void *)&nbnsa.flags, 0);
97-
nbnsa.addr = packet.localIP(); // By default, should be overridden below
97+
nbnsa.addr = packet.localIP(); // By default, should be overridden below
9898
// Iterate over all netifs, see if the incoming address matches one of the netmaskes networks
9999
for (auto netif = netif_list; netif; netif = netif->next) {
100100
auto maskedip = ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif));

0 commit comments

Comments
 (0)