Skip to content

Commit

Permalink
Fix MTU set in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kayrus committed Mar 10, 2021
1 parent 0277ba6 commit 910b6cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 910b6cd

Please sign in to comment.