Skip to content

Commit

Permalink
Merge pull request #190 from sbezverk/issue_#189
Browse files Browse the repository at this point in the history
remove igp metric attribute from ls prefix
  • Loading branch information
sbezverk authored Jan 19, 2022
2 parents 3d775a6 + 49c4e6f commit 2009720
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/message/ls-prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func (p *producer) lsPrefix(prfx *base.PrefixNLRI, nextHop string, op int, ph *b
msg.RouterID = lsprefix.GetLocalIPv4RouterID()
}
msg.PrefixMetric = lsprefix.GetPrefixMetric()
msg.IGPMetric = lsprefix.GetIGPMetric()
msg.IGPRouteTag = lsprefix.GetPrefixIGPRouteTag()
if f, err := lsprefix.GetPrefixIGPFlags(); err == nil {
msg.IGPFlags = f
Expand Down
1 change: 0 additions & 1 deletion pkg/message/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ type LSPrefix struct {
IGPRouteTag []uint32 `json:"route_tag,omitempty"`
IGPExtRouteTag []uint64 `json:"ext_route_tag,omitempty"`
OSPFFwdAddr string `json:"ospf_fwd_addr,omitempty"`
IGPMetric uint32 `json:"igp_metric,omitempty"`
Prefix string `json:"prefix,omitempty"`
PrefixLen int32 `json:"prefix_len,omitempty"`
PrefixMetric uint32 `json:"prefix_metric,omitempty"`
Expand Down

0 comments on commit 2009720

Please sign in to comment.