From 34923bc06c2a3dd29c2c724a7fddcf5a1f01d780 Mon Sep 17 00:00:00 2001 From: esarver Date: Wed, 8 May 2024 14:23:45 -0400 Subject: [PATCH] Release v0.15.3 (#10) --- kic-discover/src/ethernet/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kic-discover/src/ethernet/mod.rs b/kic-discover/src/ethernet/mod.rs index ffe52dd..e4a1d5f 100644 --- a/kic-discover/src/ethernet/mod.rs +++ b/kic-discover/src/ethernet/mod.rs @@ -106,9 +106,9 @@ impl LxiDeviceInfo { let s1: Vec<&str> = xml_data.split("::SOCKET").collect(); let port_split: Vec<&str> = s1[0].split("::").collect(); let socket_port = if port_split.is_empty() { - format!(":{}", port_split[port_split.len().saturating_sub(1)]) + port_split[port_split.len().saturating_sub(1)].to_string() } else { - ":5025".to_string() + "5025".to_string() }; //ToDo: test versatest when it's discoverable