diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-10-01 13:01:03 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-01 13:21:48 +0900 |
commit | e437c2c77ab25a560e720f6b77523b6e31124809 (patch) | |
tree | d09d3ae93998283060a98fd12b93d8f2e4032c97 | |
parent | 4081c33b46a72a1a61651a9d0463a2ed85a82bbe (diff) |
cli: flag statically added paths as ORIGIN_INCOMPLETE
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | gobgp/cmd/global.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/cmd/global.go b/gobgp/cmd/global.go index 4afc048a..08dc2249 100644 --- a/gobgp/cmd/global.go +++ b/gobgp/cmd/global.go @@ -478,7 +478,7 @@ func ParsePath(rf bgp.RouteFamily, args []string) (*api.Path, error) { path.Pattrs = append(path.Pattrs, mpreach) } - origin, _ := bgp.NewPathAttributeOrigin(bgp.BGP_ORIGIN_ATTR_TYPE_IGP).Serialize() + origin, _ := bgp.NewPathAttributeOrigin(bgp.BGP_ORIGIN_ATTR_TYPE_INCOMPLETE).Serialize() path.Pattrs = append(path.Pattrs, origin) if extcomms != nil && len(extcomms) > 0 { |