Skip to content

Commit

Permalink
addressed issue where mtu 5000 and 9236 were failing as mtu was not g…
Browse files Browse the repository at this point in the history
…etting set (openconfig#3602)

Co-authored-by: Ram <[email protected]>
  • Loading branch information
2 people authored and alshabib committed Jan 19, 2025
1 parent 2799a54 commit 1dd7278
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (tc *testCase) verifyInterfaceDUT(
fptest.LogQuery(t, dp.String(), dip.State(), di)

di.PopulateDefaults()
if tc.mtu == 1500 {
if tc.mtu == 1500 || tc.mtu == 5000 || tc.mtu == 9236 {
// MTU default values are still not populated.
di.GetSubinterface(0).GetIpv4().Mtu = ygot.Uint16(tc.mtu)
di.GetSubinterface(0).GetIpv6().Mtu = ygot.Uint32(uint32(tc.mtu))
Expand Down

0 comments on commit 1dd7278

Please sign in to comment.