From 534a400e6eea78373ec5869d4385e58e04644bc9 Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Fri, 30 Oct 2020 21:36:28 -0700 Subject: [PATCH] fix transit path function name --- templates/peer.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/peer.tmpl b/templates/peer.tmpl index 08d23ea4..dae541de 100644 --- a/templates/peer.tmpl +++ b/templates/peer.tmpl @@ -46,13 +46,13 @@ protocol bgp AS{{ $peer.Asn }}v{{ $af }}_{{ $i }} { bgp_large_community.add((ASN,0,101)); # Learned from upstream reject; {{ else if eq $peer.Type "peer" -}} - reject_transit(); + reject_transit_paths(); if (net ~ AS{{ $peer.Asn }}_PFX_v{{ $af }}) then { bgp_large_community.add((ASN,0,102)); # Learned from peer accept; } {{ else if eq $peer.Type "downstream" -}} - reject_transit(); + reject_transit_paths(); if (net ~ AS{{ $peer.Asn }}_PFX_v{{ $af }}) then { bgp_large_community.add((ASN,0,103)); # Learned from downstream accept;