From: Ondrej Zajicek Date: Thu, 22 May 2025 12:55:35 +0000 (+0200) Subject: BGP: Improve log messages in reconfiguration X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14cf84540428d24c6a6d60474315a51ff1b47cb2;p=thirdparty%2Fbird.git BGP: Improve log messages in reconfiguration Use separate messages for import / export reload triggered by reconfiguration. --- diff --git a/nest/proto.c b/nest/proto.c index 14260d633..1aeea96c5 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -906,14 +906,17 @@ channel_reconfigure(struct channel *c, struct channel_config *cf) if (import_changed && !channel_reloadable(c)) return 0; - if (import_changed || export_changed) - log(L_INFO "Reloading channel %s.%s", c->proto->name, c->name); - if (import_changed) + { + log(L_INFO "Reloading channel %s.%s for import", c->proto->name, c->name); channel_request_reload(c); + } if (export_changed) + { + log(L_INFO "Reloading channel %s.%s for export", c->proto->name, c->name); channel_request_feeding(c); + } done: CD(c, "Reconfigured");