From 4cc7a81e8f5ae3c6584f26a1d9300e0522fdab7d Mon Sep 17 00:00:00 2001 From: Eiichiro Watanabe Date: Mon, 12 Nov 2018 14:41:58 +0900 Subject: Support AdminDown from config --- internal/pkg/config/util.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/pkg') diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go index ed9d3049..70fc8cd9 100644 --- a/internal/pkg/config/util.go +++ b/internal/pkg/config/util.go @@ -456,6 +456,7 @@ func NewPeerFromConfigStruct(pconf *Neighbor) *api.Peer { AllowOwnAs: uint32(pconf.AsPathOptions.Config.AllowOwnAs), RemovePrivateAs: removePrivateAs, ReplacePeerAs: pconf.AsPathOptions.Config.ReplacePeerAs, + AdminDown: pconf.Config.AdminDown, }, State: &api.PeerState{ SessionState: api.PeerState_SessionState(api.PeerState_SessionState_value[strings.ToUpper(string(s.SessionState))]), -- cgit v1.2.3