Skip to content

Commit

Permalink
fix static BGP communities
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Nov 8, 2020
1 parent 42bdd5a commit 9c98d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/global.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define LOCAL_v4 = [
protocol static static4 {
ipv4;
{{- range $i, $prefix := .OriginSet4 }}
route {{ $prefix }} reject { bgp_large_community.add(ASN,0,100) };
route {{ $prefix }} reject { bgp_large_community.add((ASN,0,100)); };
{{- end }}
}
{{- end }}
Expand All @@ -24,7 +24,7 @@ define LOCAL_v6 = [
protocol static static6 {
ipv6;
{{- range $i, $prefix := .OriginSet6 }}
route {{ $prefix }} reject { bgp_large_community.add(ASN,0,100) };
route {{ $prefix }} reject { bgp_large_community.add((ASN,0,100)); };
{{- end }}
}
{{- end }}
Expand Down

0 comments on commit 9c98d09

Please sign in to comment.