Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 16483 invoked from network); 20 Feb 2008 14:28:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2008 14:28:59 -0000 Received: (qmail 13446 invoked by uid 500); 20 Feb 2008 14:28:52 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 13381 invoked by uid 500); 20 Feb 2008 14:28:52 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 13372 invoked by uid 99); 20 Feb 2008 14:28:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 06:28:52 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 14:28:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E8D4A1A9832; Wed, 20 Feb 2008 06:28:36 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: rwinston@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080220142836.E8D4A1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();