Skip to content

Commit

Permalink
Merge 94e18fb into 49e948f
Browse files Browse the repository at this point in the history
  • Loading branch information
esarver authored May 7, 2024
2 parents 49e948f + 94e18fb commit 7125fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kic-discover/src/ethernet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7125fb5

Please sign in to comment.