AcquisitionDevice: IPv4 address and UDP destination port is property of the device and not of a particular run
This commit is contained in:
@@ -118,8 +118,15 @@ JFJochProtoBuf::ReceiverNetworkConfig JFJochReceiverClient::GetNetworkConfig() {
|
||||
"JFJochReceiver: " + status.error_message());
|
||||
} else {
|
||||
// For tests to work, dummy receiver needs to replay with nonsense MAC addresses
|
||||
ret.add_fpga_mac_addr("00:00:00:00:00:00");
|
||||
ret.add_fpga_mac_addr("00:00:00:00:00:01");
|
||||
auto d1 = ret.add_device();
|
||||
d1->set_mac_addr("00:00:00:00:00:00");
|
||||
d1->set_ipv4_addr("10.10.50.1");
|
||||
d1->set_udp_port(1234);
|
||||
|
||||
auto d2 = ret.add_device();
|
||||
d2->set_mac_addr("00:00:00:00:00:01");
|
||||
d2->set_ipv4_addr("10.10.50.2");
|
||||
d2->set_udp_port(1234);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user