Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 22:19:22 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r203454 - user/luigi/ipfw3-head/sys/netinet/ipfw
Message-ID:  <201002032219.o13MJMbk024757@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Wed Feb  3 22:19:22 2010
New Revision: 203454
URL: http://svn.freebsd.org/changeset/base/203454

Log:
  misplaced line

Modified:
  user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw2.c

Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw2.c
==============================================================================
--- user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw2.c	Wed Feb  3 22:17:30 2010	(r203453)
+++ user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw2.c	Wed Feb  3 22:19:22 2010	(r203454)
@@ -1378,7 +1378,6 @@ do {								\
 						key = ucred_cache->cr_uid;
 					    else if (v == 5 /* O_JAIL */)
 						key = ucred_cache->cr_prison->pr_id;
-					    key = htonl(key);
 #else /* !__FreeBSD__ */
 						(void *)&ucred_cache,
 						(struct inpcb *)args->m);
@@ -1387,6 +1386,7 @@ do {								\
 					    else if (v == 5 /* O_JAIL */)
 						key = ucred_cache.xid;
 #endif /* !__FreeBSD__ */
+					    key = htonl(key);
 					} else
 					    break;
 				    }



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