Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nsadhasivam authored Jan 24, 2025
1 parent 90136b6 commit ede6acc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ func verifyDUTPort(t *testing.T, dut *ondatra.DUTDevice, portName string) {
switch {
case deviations.OmitL2MTU(dut):
configuredIpv6SubInterfaceMtu := gnmi.Get(t, dut, gnmi.OC().Interface(portName).Subinterface(subInterfaceIndex).Ipv6().Mtu().State())
expectedSuBInterfaceMtu := mtu
expectedSubInterfaceMtu := mtu

if int(configuredIpv6SubInterfaceMtu) != expectedSuBInterfaceMtu {
if int(configuredIpv6SubInterfaceMtu) != expectedSubInterfaceMtu {
t.Errorf(
"dut %s configured mtu is incorrect, got: %d, want: %d",
dut.Name(), configuredIpv6SubInterfaceMtu, expectedSuBInterfaceMtu,
dut.Name(), configuredIpv6SubInterfaceMtu, expectedSubInterfaceMtu,
)
}
default:
Expand Down

0 comments on commit ede6acc

Please sign in to comment.