PERFORCE change 143079 for review
    Gleb Kurtsou 
    gk at FreeBSD.org
       
    Sat Jun  7 14:47:13 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=143079
Change 143079 by gk at 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:
    
    
More information about the p4-projects
mailing list