diff -Nru linux-2.4.20/net/ipv4/netfilter/ip_tables.c linux-2.4.20-pom2patch/net/ipv4/netfilter/ip_tables.c
--- linux-2.4.20/net/ipv4/netfilter/ip_tables.c	2003-05-02 12:57:35.000000000 -0500
+++ linux-2.4.20-pom2patch/net/ipv4/netfilter/ip_tables.c	2003-05-02 12:59:43.000000000 -0500
@@ -1644,7 +1644,7 @@
 		     u_int8_t type, u_int8_t code,
 		     int invert)
 {
-	return (type == test_type && code >= min_code && code <= max_code)
+	return ((test_type == 0xFF) || (type == test_type && code >= min_code && code <= max_code))
 		^ invert;
 }
 
