Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2015 15:39:42 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r285795 - stable/10/tools/regression/lib/libc/nss
Message-ID:  <201507221539.t6MFdgnM005303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Wed Jul 22 15:39:41 2015
New Revision: 285795
URL: https://svnweb.freebsd.org/changeset/base/285795

Log:
  MFC: r285543
  
  Add a missing break statement, which made the code default to IPv6.
  
  PR:		201285
  Submitted by:	David Binderman
  Approved by:	re (gjb)

Modified:
  stable/10/tools/regression/lib/libc/nss/test-getaddr.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/tools/regression/lib/libc/nss/test-getaddr.c
==============================================================================
--- stable/10/tools/regression/lib/libc/nss/test-getaddr.c	Wed Jul 22 15:30:10 2015	(r285794)
+++ stable/10/tools/regression/lib/libc/nss/test-getaddr.c	Wed Jul 22 15:39:41 2015	(r285795)
@@ -448,6 +448,7 @@ main(int argc, char **argv)
 		switch (c) {
 		case '4':
 			hints.ai_family = PF_INET;
+			break;
 		case '6':
 			hints.ai_family = PF_INET6;
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507221539.t6MFdgnM005303>