Received: by mail.netbsd.org (Postfix, from userid 605) id 0CE3914A3C7; Thu, 15 Oct 2015 11:21:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 88C7414A1FF for ; Thu, 15 Oct 2015 11:21:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id repDMAl3EEPq for ; Thu, 15 Oct 2015 11:21:53 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 64CB614A135 for ; Thu, 15 Oct 2015 11:21:53 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 414CF98; Thu, 15 Oct 2015 11:21:53 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 15 Oct 2015 11:21:53 +0000 From: "Roy Marples" Subject: CVS commit: src/external/apache2/mDNSResponder/dist To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20151015112153.414CF98@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roy Marples" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: roy Date: Thu Oct 15 11:21:53 UTC 2015 Modified Files: src/external/apache2/mDNSResponder/dist/mDNSPosix: PosixDaemon.c src/external/apache2/mDNSResponder/dist/mDNSShared: PlatformCommon.c Log Message: Derive our primary interface and address by trying to connect to an address in the TEST-NET-2 network as noted in RFC5737 instead of using the 1.1.1.1 address. Also, use port 7 (echo) for better style. Fixes PR bin/46758 thanks to Lloyd Parkes. While here, if we do fail to connect to the test address, don't spam this to the console as it's a common case during the boot sequence. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 \ src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c cvs rdiff -u -r1.1.1.3 -r1.2 \ src/external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.