commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwins...@apache.org
Subject svn commit: r629472 - /commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java
Date Wed, 20 Feb 2008 14:28:36 GMT
Author: rwinston
Date: Wed Feb 20 06:28:35 2008
New Revision: 629472

URL: http://svn.apache.org/viewvc?rev=629472&view=rev
Log:
NET-172: Don't bind to the local NTP port

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java?rev=629472&r1=629471&r2=629472&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java (original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/examples/ntp/NTPClient.java Wed Feb
20 06:28:35 2008
@@ -151,7 +151,7 @@
         // We want to timeout if a response takes longer than 10 seconds
         client.setDefaultTimeout(10000);
         try {
-            client.open(NtpV3Packet.NTP_PORT);
+            client.open();
             for (int i = 0; i < args.length; i++)
             {
                 System.out.println();



Mime
View raw message