summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/tcp/tcp_proxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarks/tcp/tcp_proxy.go')
-rw-r--r--test/benchmarks/tcp/tcp_proxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmarks/tcp/tcp_proxy.go b/test/benchmarks/tcp/tcp_proxy.go
index bc0d8fd38..8273b12a7 100644
--- a/test/benchmarks/tcp/tcp_proxy.go
+++ b/test/benchmarks/tcp/tcp_proxy.go
@@ -213,7 +213,7 @@ func newNetstackImpl(mode string) (impl, error) {
AddressWithPrefix: parsedAddr.WithPrefix(),
}
if err := s.AddProtocolAddress(nicID, protocolAddr, stack.AddressProperties{}); err != nil {
- return nil, fmt.Errorf("error adding IP address %+v to %q: %w", protocolAddr, *iface, err)
+ return nil, fmt.Errorf("error adding IP address %+v to %q: %s", protocolAddr, *iface, err)
}
subnet, err := tcpip.NewSubnet(parsedDest, parsedMask)