From aa8fbea74b2decb8907d0f59b3264b63a4e624f5 Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 26 Sep 2023 21:01:41 -0400 Subject: [PATCH] Point to the correct ASN --- filter_bgp.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/filter_bgp.conf b/filter_bgp.conf index 1818f8c..c3e8c4d 100644 --- a/filter_bgp.conf +++ b/filter_bgp.conf @@ -231,15 +231,15 @@ function import_downstream(int downstream_asn; prefix set prefixes; int set as_s } # If they don't want to export this to us, then we won't take it at all. - if (QUANTUM_ASN, LC_NO_EXPORT, QUANTUM_ASN) ~ bgp_large_community then return false; + if (MY_ASN, LC_NO_EXPORT, MY_ASN) ~ bgp_large_community then return false; bgp_large_community.delete([ - (QUANTUM_ASN, 0..LC_DOWNSTREAM_START-1, *), - (QUANTUM_ASN, LC_DOWNSTREAM_END+1..0xFFFFFFFF, *) + (MY_ASN, 0..LC_DOWNSTREAM_START-1, *), + (MY_ASN, LC_DOWNSTREAM_END+1..0xFFFFFFFF, *) ]); - bgp_large_community.add((QUANTUM_ASN, LC_INFO, INFO_DOWNSTREAM)); - bgp_large_community.add((QUANTUM_ASN, LC_PEER_ASN, downstream_asn)); + bgp_large_community.add((MY_ASN, LC_INFO, INFO_DOWNSTREAM)); + bgp_large_community.add((MY_ASN, LC_PEER_ASN, downstream_asn)); return import_safe(false); }