aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-30 16:32:23 +0100
committertv <tv@krebsco.de>2026-10-30 16:32:23 +0100
commitf091fb2a9188f686e5b1f9012c510a1b3c8ad840 (patch)
tree8821dfe3c63535762a798b85dfe8c0d850a9df90 /src/main.rs
parent0ee0cd19b7ceabf5d75e1b8fdd074a6e758bc6db (diff)
move transport config checks to respective modules
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 1908775..da79668 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -54,6 +54,14 @@ async fn main() -> Result<()> {
if let Some(format) = logging::LogFormat::parse(&args.log_format) {
logging::set_format(format);
}
+ for (transport, built, options) in config.unused_transport_options() {
+ warn!(
+ transport,
+ built,
+ options = ?options,
+ "Options of a transport this node doesn't use are ignored"
+ );
+ }
if args.relay_only {
return relay_only(args).await;
}