Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 11:57:06 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r273841 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw
Message-ID:  <201409091157.s89Bv6SU030189@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dpl
Date: Tue Sep  9 11:57:06 2014
New Revision: 273841
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=273841

Log:
  Use the definition of the magic num, instead of the magic num.

Modified:
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Tue Sep  9 11:56:26 2014	(r273840)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Tue Sep  9 11:57:06 2014	(r273841)
@@ -1385,7 +1385,7 @@
 	{
 
 		// retval = 0;	/* accept */
-		Irb.CreateStore(ConstantInt::get(Int32Ty, 0), Retval);
+		Irb.CreateStore(ConstantInt::get(Int32Ty, IP_FW_PASS), Retval);
 		// l = 0;		/* exit inner loop */
 		Irb.CreateStore(ConstantInt::get(Int32Ty, 0), L);
 		// done = 1;	/* exit outer loop */



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