Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ethr.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE.txt file in the project root for full license information.
//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
package main

import (
Expand Down Expand Up @@ -239,6 +239,7 @@ func main() {
uint64(bwRate),
uint8(*tos)}
validateClientParams(testId, clientParam)
gTOS = uint8(*tos)

rServer := destination
runClient(testId, *title, clientParam, rServer)
Expand Down
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ module github.com/microsoft/ethr
require (
github.com/mattn/go-runewidth v0.0.9
github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1
golang.org/x/sys v0.0.0-20200918174421-af09f7315aff
golang.org/x/net v0.39.0
golang.org/x/sys v0.32.0
)

go 1.13
go 1.23.0

toolchain go1.24.1
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/Qd
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1 h1:lh3PyZvY+B9nFliSGTn5uFuqQQJGuNrD0MLCokv09ag=
github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=
golang.org/x/sys v0.0.0-20200918174421-af09f7315aff h1:1CPUrky56AcgSpxz/KfgzQWzfG09u5YOL8MvPYBlrL8=
golang.org/x/sys v0.0.0-20200918174421-af09f7315aff/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
6 changes: 3 additions & 3 deletions plt_darwin.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// +build darwin
//go:build darwin

//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE.txt file in the project root for full license information.
//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
package main

import (
Expand Down
6 changes: 3 additions & 3 deletions plt_linux.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// +build linux
//go:build linux

//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE.txt file in the project root for full license information.
//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
package main

import (
Expand Down
6 changes: 3 additions & 3 deletions plt_windows.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// +build windows
//go:build windows

//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE.txt file in the project root for full license information.
//-----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
package main

import (
Expand Down