Skip to content

Commit

Permalink
fixing explicit masklen config (openconfig#3450)
Browse files Browse the repository at this point in the history
* fix for nokia

* fixed deviation.go comment
  • Loading branch information
ram-mac authored Sep 24, 2024
1 parent 3177cd5 commit 275b0c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ func configureDUTLinkLocalInterface(t *testing.T, dut *ondatra.DUTDevice) {
if deviations.InterfaceEnabled(dut) && !deviations.IPv4MissingEnabled(dut) {
dstSubInt4.Enabled = ygot.Bool(true)
}
dutDst.IPv6Len = 128
if deviations.LinkLocalMaskLen(dut) {
dutDst.IPv6Len = 128
}
Expand Down
2 changes: 1 addition & 1 deletion internal/deviations/deviations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ func SflowSourceAddressUpdateUnsupported(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetSflowSourceAddressUpdateUnsupported()
}

// LinklocalMaskLen returns true if linklocal mask length is not 64
// LinkLocalMaskLen returns true if linklocal mask length is not 64
func LinkLocalMaskLen(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetLinkLocalMaskLen()
}

0 comments on commit 275b0c1

Please sign in to comment.