mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
BGP config: Splitting Route Refresh and Enhanced Route Refresh
Both toggles are on by default but if some implementation needs one or another to be switched off separately, then it's possible now.
This commit is contained in:
@@ -245,7 +245,7 @@ bgp_prepare_capabilities(struct bgp_conn *conn)
|
||||
caps->as4_support = p->cf->enable_as4;
|
||||
caps->ext_messages = p->cf->enable_extended_messages;
|
||||
caps->route_refresh = p->cf->enable_refresh;
|
||||
caps->enhanced_refresh = p->cf->enable_refresh;
|
||||
caps->enhanced_refresh = p->cf->enable_refresh && p->cf->enable_enhanced_refresh;
|
||||
caps->role = p->cf->local_role;
|
||||
|
||||
if (caps->as4_support)
|
||||
|
||||
Reference in New Issue
Block a user