macos changes

This commit is contained in:
Jake Hillion 2021-04-14 17:27:53 +01:00
parent c9596909f2
commit fef01c18c7
2 changed files with 0 additions and 7 deletions

View File

@ -1,14 +1,12 @@
package flags
import (
"errors"
"fmt"
goflags "github.com/jessevdk/go-flags"
"os"
)
var PrintedHelpErr = goflags.ErrHelp
var NotEnoughArgs = errors.New("not enough arguments")
type Options struct {
Foreground bool `short:"f" long:"foreground" description:"Run in the foreground"`

View File

@ -38,11 +38,6 @@ func NewListener(ctx context.Context, p *proxy.Proxy, local string, v func() pro
return err
}
err = pconn.SetWriteBuffer(0)
if err != nil {
panic(err)
}
receivedConnections := make(map[ComparableUdpAddress]*Flow)
go func() {