Skip to content

Commit

Permalink
Remove colon from port number
Browse files Browse the repository at this point in the history
  • Loading branch information
esarver committed May 7, 2024
1 parent 6618cf8 commit 94e18fb
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 94e18fb

Please sign in to comment.