diff options
| author | tv <tv@krebsco.de> | 2026-10-30 16:32:23 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-30 16:32:23 +0100 |
| commit | a903c25b548490dc5fa48f398f6ddfdeca2270c6 (patch) | |
| tree | 1c1a006b63108c6cc9e2634ee5c53f5c5b99bcb6 /src/main.rs | |
| parent | a6d5ea115df597e7fe1dc13a55261c2ff9a28ed7 (diff) | |
move transport config checks to respective modules
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 8 |
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; } |
