drtio_routing: changed warning message

This commit is contained in:
mwojcik 2021-07-28 10:05:50 +02:00
parent 97d95c37f5
commit c0e2e11968

View File

@ -1,6 +1,6 @@
use libconfig::Config; use libconfig::Config;
#[cfg(has_drtio_routing)] #[cfg(has_drtio_routing)]
use pl::csr; // <- check if it works in the same way use pl::csr;
use core::fmt; use core::fmt;
use log::{warn, info}; use log::{warn, info};
@ -67,7 +67,7 @@ pub fn config_routing_table(default_n_links: usize, cfg: Config) -> RoutingTable
} }
} }
else { else {
warn!("could not read routing table from configuration, using default"); warn!("length of the routing table is incorrect, using default");
} }
} }
else { else {