mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Correct routing detection error.
This commit is contained in:
parent
0dbf0efee0
commit
f5a2693261
@ -19,12 +19,12 @@ impl UispDataLink {
|
||||
let mut from_site_id = String::new();
|
||||
let mut to_site_id = String::new();
|
||||
let mut to_site_name = String::new();
|
||||
let from_site_name = String::new();
|
||||
let mut from_site_name = String::new();
|
||||
|
||||
// Obvious Site Links
|
||||
if let Some(from_site) = &value.from.site {
|
||||
from_site_id = from_site.identification.id.clone();
|
||||
to_site_id = from_site.identification.name.clone();
|
||||
from_site_name = from_site.identification.name.clone();
|
||||
}
|
||||
if let Some(to_site) = &value.to.site {
|
||||
to_site_id = to_site.identification.id.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user