only send device IP until binding is better implimented
This commit is contained in:
parent
2b8be50db8
commit
97802bbebf
|
@ -418,6 +418,7 @@ void Device::txArtPollReply(std::shared_ptr<pollreply_data> reply)
|
|||
reply = std::make_shared<pollreply_data>();
|
||||
|
||||
/// \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<pollreply_data> 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<ArtPollReply>(reply);
|
||||
|
|
Loading…
Reference in New Issue