Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2009 17:21:22 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186961 - head/sys/netinet
Message-ID:  <200901091721.n09HLMYP062961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Jan  9 17:21:22 2009
New Revision: 186961
URL: http://svn.freebsd.org/changeset/base/186961

Log:
  Fix indentation; add FALLTHROUGH.
  
  Thanks Max!

Modified:
  head/sys/netinet/ip_output.c

Modified: head/sys/netinet/ip_output.c
==============================================================================
--- head/sys/netinet/ip_output.c	Fri Jan  9 17:18:17 2009	(r186960)
+++ head/sys/netinet/ip_output.c	Fri Jan  9 17:21:22 2009	(r186961)
@@ -876,9 +876,10 @@ ip_ctloutput(struct socket *so, struct s
 #if defined(IP_NONLOCALBIND)
 		case IP_NONLOCALOK:
 			if (! ip_nonlocalok) {
-			error = ENOPROTOOPT;
-			break;
-		}
+				error = ENOPROTOOPT;
+				break;
+			}
+			/* FALLTHROUGH */
 #endif
 		case IP_TOS:
 		case IP_TTL:



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