Skip to content

Commit f128667

Browse files
committed
* apply a patch from Massimo to fix the windows build
1 parent 1250f12 commit f128667

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

artnet/artnet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,8 +1369,8 @@ int artnet_dump_config(artnet_node vn) {
13691369
printf("Node Type: %i\n", n->state.node_type);
13701370
printf("Short Name: %s\n", n->state.short_name);
13711371
printf("Long Name: %s\n", n->state.long_name);
1372-
printf("Subnet: %#hhx\n", n->state.subnet);
1373-
printf("Default Subnet: %#hhx\n", n->state.default_subnet);
1372+
printf("Subnet: %#02x\n", n->state.subnet);
1373+
printf("Default Subnet: %#02x\n", n->state.default_subnet);
13741374
printf("Net Ctl: %i\n", n->state.subnet_net_ctl);
13751375
printf("#####################\n");
13761376

artnet/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static int get_ifaces(iface_t **if_head) {
141141
pAdapter && pAdapter < pAdapterInfo + ulOutBufLen;
142142
pAdapter = pAdapter->Next) {
143143

144-
if(pAdapter->Type != MIB_IF_TYPE_ETHERNET)
144+
if(pAdapter->Type != MIB_IF_TYPE_ETHERNET && pAdapter->Type != IF_TYPE_IEEE80211)
145145
continue;
146146

147147
for (ipAddress = &pAdapter->IpAddressList; ipAddress;

0 commit comments

Comments
 (0)