diff options
author | uvok cheetah | 2024-07-21 14:05:36 +0200 |
---|---|---|
committer | uvok cheetah | 2024-07-21 14:05:36 +0200 |
commit | 96f86e552d653b4bbdd5b2ee3a7977580a6d5405 (patch) | |
tree | 9134702bbed2bda6668942e5d95ce6ea3cae86bf /roles/uvok_bird/files | |
parent | 934e7660c90f5863eefbcf145a3ef988542fb2dc (diff) |
Diffstat (limited to 'roles/uvok_bird/files')
-rw-r--r-- | roles/uvok_bird/files/clear_functions.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/uvok_bird/files/clear_functions.conf b/roles/uvok_bird/files/clear_functions.conf index b0fda90..76a2ead 100644 --- a/roles/uvok_bird/files/clear_functions.conf +++ b/roles/uvok_bird/files/clear_functions.conf @@ -29,4 +29,8 @@ function clearnet_is_ixp() { function clearnet_add_filter(int filter_reason) { bgp_large_community.add((CLEARNET_ASN, LC_FILTERED, filter_reason)); + # ensure route never gets selected as "best" + # (for direct peer connections: if that happened, no other route + # would go from unfiltered to transit table). + bgp_local_pref = 0; } |