From 97802bbebfa2b2ad46d3dea525ea8b68556b3cb6 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 21 May 2023 14:18:24 -0400 Subject: [PATCH] only send device IP until binding is better implimented --- protocol/artistic/artnet/device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/artistic/artnet/device.cpp b/protocol/artistic/artnet/device.cpp index 1314e3d..20aa5de 100644 --- a/protocol/artistic/artnet/device.cpp +++ b/protocol/artistic/artnet/device.cpp @@ -418,6 +418,7 @@ void Device::txArtPollReply(std::shared_ptr reply) reply = std::make_shared(); /// \todo complete data field population of ArtPollReply + reply->my_ip = deviceIp().address.ipv4.value; // reply->net_sub_switch = ; // reply->ubea_version = ; reply->status = device_status; @@ -435,7 +436,7 @@ void Device::txArtPollReply(std::shared_ptr reply) reply->style = styleCode; const auto mac = deviceMac(); std::copy(mac.cbegin(), mac.cend(), reply->mac_address); - reply->bind_ip = deviceIp().address.ipv4.value; +// reply->bind_ip = reply->my_ip; // reply->bind_index = ; auto packet = std::make_shared(reply);