Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0d2f11

Browse files
committed
fix: bgp_path.empty for BIRD 2.0.10
1 parent 0c5db21 commit b0d2f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/embed/templates/peer.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $af $peer.ASN }} {
170170
remove_private_asns();
171171
{{ end }}
172172

173-
{{ if BoolDeref $peer.ClearPath }}bgp_path = -empty-;{{ end }}
173+
{{ if BoolDeref $peer.ClearPath }}bgp_path.empty;{{ end }}
174174
{{ range $i := Iterate $peer.Prepends }}
175175
bgp_path.prepend(ASN);
176176
{{ end }}

0 commit comments

Comments
 (0)