mirror of
https://github.com/neocturne/fastd.git
synced 2025-05-14 20:25:08 +02:00
Don't output "adding peer" messages for static peers
Otherwise log messages are emitted to early.
This commit is contained in:
parent
25c9d93516
commit
d42e9d9b1a
1 changed files with 2 additions and 1 deletions
|
@ -750,7 +750,8 @@ bool fastd_peer_add(fastd_peer_t *peer) {
|
|||
|
||||
conf.protocol->init_peer_state(peer);
|
||||
|
||||
pr_verbose("adding peer %P", peer);
|
||||
if (!fastd_peer_is_dynamic(peer) && peer->config_source_dir)
|
||||
pr_verbose("adding peer %P", peer);
|
||||
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue