From 910b6cd746241f08571cb861cd7c80dde96bcd28 Mon Sep 17 00:00:00 2001 From: kayrus Date: Wed, 10 Mar 2021 15:24:42 +0100 Subject: [PATCH] Fix MTU set in Windows --- Makefile | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2f686b12..6ab8f89b 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ endif all: fmt build build: - $(foreach GOARCH,$(GOARCHs),$(shell GOARCH=$(GOARCH) $(GOBUILD) -ldflags $(RELEASE_LDFLAGS) -o $(BUILDDIR)/$(PROGRAM)_$(GOOS)_$(GOARCH)$(SUFFIX) -v -tags '$(BUILD_TAGS)' $(CMDDIR))) + $(foreach GOARCH,$(GOARCHs),$(shell GOARCH=$(GOARCH) $(GOBUILD) -ldflags $(RELEASE_LDFLAGS) -trimpath -o $(BUILDDIR)/$(PROGRAM)_$(GOOS)_$(GOARCH)$(SUFFIX) -v -tags '$(BUILD_TAGS)' $(CMDDIR))) fmt: gofmt -w -s . diff --git a/go.mod b/go.mod index 564cf288..09e3d747 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/eycorsican/go-tun2socks go 1.16 require ( - github.com/kayrus/tuncfg v0.0.0-20210307172901-e3d7bd040320 + github.com/kayrus/tuncfg v0.0.0-20210310141936-14cfb80829c3 golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b ) diff --git a/go.sum b/go.sum index 9a2242f2..8e273f21 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/IBM/netaddr v1.4.0 h1:6T+fAXurIdgA9+nVlehOOkhhxmzU2MTxtok7qNldDVo= github.com/IBM/netaddr v1.4.0/go.mod h1:eXOsTXDZemcAXuuddrfHcWdA0on76PJwaH37JnS5PKE= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/kayrus/tuncfg v0.0.0-20210307172901-e3d7bd040320 h1:RJYYbIWJYppIz3gLiqRT24EQubv0VcmqBGdqQizyzp8= -github.com/kayrus/tuncfg v0.0.0-20210307172901-e3d7bd040320/go.mod h1:/3mWE+Xx5KOTDOlvS1WX2L4Lq6Y7IROL+G8DQr3qfnQ= +github.com/kayrus/tuncfg v0.0.0-20210310141936-14cfb80829c3 h1:1G4HHFGZPS6m04/Kau8xtOazemGU6SGNmoUf0i/WuTI= +github.com/kayrus/tuncfg v0.0.0-20210310141936-14cfb80829c3/go.mod h1:/3mWE+Xx5KOTDOlvS1WX2L4Lq6Y7IROL+G8DQr3qfnQ= github.com/lxn/walk v0.0.0-20210112085537-c389da54e794/go.mod h1:E23UucZGqpuUANJooIbHWCufXvOcT6E7Stq81gU+CSQ= github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=