Skip to content

Commit 0b00593

Browse files
author
duke
committed
Backport cecb0b3d11ed0ce204cb6c3427f5a6858a844aeb
1 parent da87df7 commit 0b00593

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/jdk/java/net/ipv6tests/Tests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -123,7 +123,8 @@ public static void datagramEcho (DatagramSocket s1, DatagramSocket s2,
123123
}
124124

125125
dprintln ("dest2 = " + dest2);
126-
126+
dprintln ("sender endpoint = " + s1.getLocalSocketAddress());
127+
dprintln ("echo endpoint = " + s2.getLocalSocketAddress());
127128

128129
DatagramPacket r1 = new DatagramPacket (new byte[256], 256);
129130
DatagramPacket r2 = new DatagramPacket (new byte[256], 256);

0 commit comments

Comments
 (0)