Skip to content

Commit

Permalink
Added BindIp to PollReply
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasebsen authored Oct 23, 2018
1 parent ac40123 commit 7063ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ArtNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ ArtPollReply * ArtNode::createPollReply() {
reply->Style = StyleNode;
memcpy(reply->Mac, config->mac, 6);
reply->Status2 = 0x8; // Supports 15bit address (ArtNet 3)
memcpy(reply->BindIp, config->ip, 4);

packetSize = sizeof(ArtPollReply);
return reply;
Expand Down Expand Up @@ -240,4 +241,4 @@ void ArtNode::handleAddress(ArtAddress * address) {
config->portAddrOut[i] = address->SwOut[i];
}
}
}
}

0 comments on commit 7063ebf

Please sign in to comment.