socsvn commit: r273841 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw

dpl at FreeBSD.org dpl at FreeBSD.org
Tue Sep 9 11:57:07 UTC 2014


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 */


More information about the svn-soc-all mailing list