diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index 52c0d3ac..e0b0dcef 100644 --- a/server/server.go +++ b/server/server.go @@ -1563,6 +1563,9 @@ func (server *BgpServer) handleGrpcAddPolicy(grpcReq *GrpcRequest) { if reqActions.Med != "" { conStatement.Actions.BgpActions.SetMed = statement.Actions.BgpActions.SetMed } + if reqActions.AsPrepend.As != "" { + conStatement.Actions.BgpActions.SetAsPathPrepend = statement.Actions.BgpActions.SetAsPathPrepend + } } } server.routingPolicy.PolicyDefinitionList = conPolicyList |