Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2008 14:47:12 GMT
From:      Gleb Kurtsou <gk@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 143079 for review
Message-ID:  <200806071447.m57ElCSg006955@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143079

Change 143079 by gk@gk_h1 on 2008/06/07 14:46:44

	fix layer2 ipfw option. it's to match layer2 packets only (from ether or bridge)

Affected files ...

.. //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw2.c#4 edit

Differences ...

==== //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw2.c#4 (text+ko) ====

@@ -2622,7 +2622,7 @@
 				break;
 
 			case O_LAYER2:
-				match = (args->eh != NULL);
+				match = ((args->flags & IP_FW_ARGS_LAYER2) != 0);
 				break;
 
 			case O_DIVERTED:



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