From: Maria Matejka Date: Tue, 29 Jul 2025 12:15:08 +0000 (+0200) Subject: BGP: Do not restart when next hop keep/self is changed X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fbird.git BGP: Do not restart when next hop keep/self is changed The change in dade7147eb6b62b2d58d478a370baef513d96975 forces BGP to restart even if next hop self and next hop keep changes, which can be updated just by reloading export, while explicit next hop address can not. Related to #280. --- diff --git a/doc/bird.sgml b/doc/bird.sgml index d981936af..98a480f79 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -3958,7 +3958,6 @@ direction (re-export of routes to the BGP neighbor): next_hop_addr, old->next_hop_addr) || - (new->next_hop_self != old->next_hop_self) || - (new->next_hop_keep != old->next_hop_keep)) + if (!ipa_equal(new->next_hop_addr, old->next_hop_addr)) return 0; - if ((new->llnh_format != old->llnh_format) || + if ((new->next_hop_self != old->next_hop_self) || + (new->next_hop_keep != old->next_hop_keep) || + (new->llnh_format != old->llnh_format) || (new->aigp != old->aigp) || (new->aigp_originate != old->aigp_originate)) *export_changed = 1;