Skip to content

Commit

Permalink
Temporary fix for MTU setting
Browse files Browse the repository at this point in the history
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
  • Loading branch information
ljkiraly committed Apr 11, 2022
1 parent e38c43d commit f52d190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/networkservice/mechanisms/vlan/mtu/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ func getMTU(ctx context.Context, vppConn api.Connection, swIfIndex interface_typ
WithField("details.LinkMtu", details.LinkMtu).
WithField("duration", time.Since(now)).
WithField("vppapi", "SwInterfaceDump").Debug("completed")
return uint32(details.LinkMtu), nil
return details.Mtu[0], nil
}

0 comments on commit f52d190

Please sign in to comment.