summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-03-25 17:15:05 -0700
committerAdin Scannell <ascannell@google.com>2020-04-08 10:14:34 -0700
commit928a7c60b8f02811e9c0fcbed0077efd55471cc4 (patch)
tree1c32d4947604622f0a9e3a46df06eeefba46adc6 /pkg/tcpip/transport/udp
parent94b793262d3c54b4c32fed83d2bd121069680d15 (diff)
Fix all printf formatting errors.
Updates #2243
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r--pkg/tcpip/transport/udp/udp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/udp_test.go b/pkg/tcpip/transport/udp/udp_test.go
index 0905726c1..b3fe557ca 100644
--- a/pkg/tcpip/transport/udp/udp_test.go
+++ b/pkg/tcpip/transport/udp/udp_test.go
@@ -607,7 +607,7 @@ func testReadInternal(c *testContext, flow testFlow, packetShouldBeDropped, expe
// Check the peer address.
h := flow.header4Tuple(incoming)
if addr.Addr != h.srcAddr.Addr {
- c.t.Fatalf("unexpected remote address: got %s, want %s", addr.Addr, h.srcAddr)
+ c.t.Fatalf("unexpected remote address: got %s, want %v", addr.Addr, h.srcAddr)
}
// Check the payload.