File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $peerName $af $peer.ASN $p
56
56
{{ if not (BoolDeref $peer.InterpretCommunities) }}interpret communities off;{{ end }}
57
57
{{ if IntDeref $peer.Confederation }}confederation {{ IntDeref $peer.Confederation }};{{ end }}
58
58
{{ if IntDeref $peer.DefaultLocalPref }}default bgp_local_pref {{ IntDeref $peer.DefaultLocalPref }};{{ end }}
59
+ {{ if BoolDeref $peer.AdvertiseHostname }}advertise hostname on;{{ end }}
59
60
{{ StrDeref $peer.SessionGlobal }}
60
61
{{ $protocols := MakeSlice }}
61
62
{{ if BoolDeref $peer.MPUnicast46 }}
@@ -81,7 +82,6 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $peerName $af $peer.ASN $p
81
82
{{ if BoolDeref $peer.NextHopSelfIBGP }}next hop self ibgp;{{ end }}
82
83
{{ if BoolDeref $peer.AddPathTx }}add paths tx;{{ end }}
83
84
{{ if BoolDeref $peer.AddPathRx }}add paths rx;{{ end }}
84
- {{ if BoolDeref $peer.AdvertiseHostname }}advertise hostname on;{{ end }}
85
85
{{ if BoolDeref $peer.DisableAfterError }}disable after error on;{{ end }}
86
86
import filter {
87
87
{{ if $global.NoAccept }}reject; # no-accept: true{{ end }}
You can’t perform that action at this time.
0 commit comments