diff options
-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 { |