Skip to contentSkip to conversation

fix undefined expression in RPC match target

PATCH In review Bill Rugolsky Jr. 2 participants 2 messages May 4, 2004 – May 5, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix undefined expression in RPC match target

Hello,

The attached patch against patch-o-matic-ng
corrects a typo in the RPC match target.

Regards,

Bill Rugolsky

rpc/linux/net/ipv4/netfilter/ip_conntrack_rpc_tcp.c renamed from rpc/linux/net/ipv4/netfilter/ip_conntrack_rpc_tcp.c.fixincr +1 -1
@@ -249,7 +249,7 @@
 		}
 
 		/* Verifies if packet is really an RPC reply packet */
-		data = data++;
+		data++;
 		if (IXDR_GET_INT32(data) != 1) {
 			DEBUGP("packet is not a valid RPC reply. [skip]\n");
 			return NF_ACCEPT;
rpc/linux/net/ipv4/netfilter/ip_conntrack_rpc_udp.c renamed from rpc/linux/net/ipv4/netfilter/ip_conntrack_rpc_udp.c.fixincr +1 -1
@@ -249,7 +249,7 @@
 		}
 
 		/* Verifies if packet is really an RPC reply packet */
-		data = data++;
+		data++;
 		if (IXDR_GET_INT32(data) != 1) {
 			DEBUGP("packet is not a valid RPC reply. [skip]\n");
 			return NF_ACCEPT;