Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc36b0d8

Browse files
authored
fix(devtunnel): use 1280 mtu (#2420)
This should be more compatible with cloud VMs and VPNs.
1 parentba451b5 commitc36b0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/devtunnel/tunnel.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func NewWithConfig(ctx context.Context, logger slog.Logger, cfg Config) (*Tunnel
5959
tun,tnet,err:=netstack.CreateNetTUN(
6060
[]netip.Addr{netip.AddrFrom16(cfg.ID)},
6161
[]netip.Addr{netip.AddrFrom4([4]byte{1,1,1,1})},
62-
1420,
62+
1280,
6363
)
6464
iferr!=nil {
6565
returnnil,nil,xerrors.Errorf("create net TUN: %w",err)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp