diff --git a/lib/20-community-net186.conf b/lib/20-community-net186.conf index 7bcabdc..8650530 100644 --- a/lib/20-community-net186.conf +++ b/lib/20-community-net186.conf @@ -27,6 +27,8 @@ function net186_import_filter(int POPID) bgp_local_pref = bgp_local_pref - public_bgp_path.len * 10; + if LOCAL_ASN ~ bgp_path then return false; + return true; };