20bb5a3db35dca62f13c42debf80c18690385305
howto/Bird-communities.md
... | ... | @@ -104,7 +104,7 @@ latency = update_latency(link_latency); |
104 | 104 | bandwidth = update_bandwidth(link_bandwidth) - 20; |
105 | 105 | crypto = update_crypto(link_crypto) - 30; |
106 | 106 | if bandwidth > 4 then bandwidth = 4; |
107 | -bgp_local_pref = 100*bandwidth + 100*(10-latency)-100*bgp_path.len+50*crypto; |
|
107 | +bgp_local_pref = 10000+100*bandwidth + 50*(10-latency)-200*bgp_path.len+100*crypto; |
|
108 | 108 | return true; |
109 | 109 | } |
110 | 110 | ``` |