s2s: propagate CHGHOST/CHGIDENT host/ident changes to links (were applied locally only); inbound path uses a non-propagating variant to avoid a loop

This commit is contained in:
Jean Chevronnet 2026-08-17 19:38:58 +00:00
parent 73f8ff58ed
commit 92a3f5ba86
2 changed files with 36 additions and 2 deletions

View file

@ -821,7 +821,7 @@ impl Server {
return;
};
match self.link_local_target(&target) {
Some(tuid) => self.change_host_ident(tuid, None, Some(&host)),
Some(tuid) => self.change_host_ident_quiet(tuid, None, Some(&host)),
None => {
self.forward_to_target(&target, msg, from);
}
@ -837,7 +837,7 @@ impl Server {
return;
};
match self.link_local_target(&target) {
Some(tuid) => self.change_host_ident(tuid, Some(&ident), None),
Some(tuid) => self.change_host_ident_quiet(tuid, Some(&ident), None),
None => {
self.forward_to_target(&target, msg, from);
}