diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2016-02-17 11:13:46 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-19 21:14:59 -0800 |
commit | b67befc30abb79bd6c70fbb96437ae6e90cfb274 (patch) | |
tree | 4fdb7bb854091b3f0321e6b10898e71277fe5e83 /server/server.go | |
parent | 496ce6cd0873b492df8190ed2d010a87def9b5e3 (diff) |
ops: maintenance of two-way route exchange
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 325f6730..70cafeaa 100644 --- a/server/server.go +++ b/server/server.go @@ -1438,7 +1438,7 @@ func (server *BgpServer) Api2PathList(resource api.Resource, name string, ApiPat pattr = append(pattr, bgp.NewPathAttributeExtendedCommunities(extcomms)) } - paths = append(paths, table.NewPath(pi, nlri, path.IsWithdraw, pattr, time.Now(), path.NoImplicitWithdraw)) + paths = append(paths, table.NewPath(pi, nlri, path.IsWithdraw, pattr, time.Now(), path.NoImplicitWithdraw, path.IsFromOps)) } return paths, nil |