fix adding two cams with same ip

This commit is contained in:
2025-05-31 23:44:27 +02:00
parent 4a5e7f291f
commit c484ab0823

View File

@@ -235,7 +235,7 @@ namespace robospot_camera_finder
{
string ipAddress = manualForm.ipAddress;
Camera camera_to_add = new Camera("Camera " + ipAddress, ipAddress, "", "");
Camera camera_to_add = new Camera("Camera " + ipAddress, ipAddress, "", "CAM_FINDER_" + DateTime.Now.Ticks.ToString());
add_camera(camera_to_add);
}
}