pkg/core/gvisorstack.go
Function NewStack
has 68 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func NewStack(ctx context.Context, tun stack.LinkEndpoint) *stack.Stack {
s := stack.New(stack.Options{
NetworkProtocols: []stack.NetworkProtocolFactory{
ipv4.NewProtocol,
ipv6.NewProtocol,