Skip to content

Commit

Permalink
fix: bgp_path.empty for BIRD 2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Dec 21, 2022
1 parent 0c5db21 commit b0d2f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/embed/templates/peer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $af $peer.ASN }} {
remove_private_asns();
{{ end }}

{{ if BoolDeref $peer.ClearPath }}bgp_path = -empty-;{{ end }}
{{ if BoolDeref $peer.ClearPath }}bgp_path.empty;{{ end }}
{{ range $i := Iterate $peer.Prepends }}
bgp_path.prepend(ASN);
{{ end }}
Expand Down

0 comments on commit b0d2f11

Please sign in to comment.