[4/3] OSF: typo fix.

Evgeniy Polyakov johnpol at 2ka.mipt.ru
Sun May 29 22:13:03 CEST 2005


Connector message has wrong length parameter.

Signed-off-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>

--- orig/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c
+++ mod/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c
@@ -117,7 +117,7 @@
 	memcpy(&m->id, &osf_id, sizeof(m->id));
 	m->seq = osf_seq++;
 	m->ack = 0;
-	m->len = sizeof(*f);
+	m->len = sizeof(*data);
 	
 	memcpy(&data->f, f, sizeof(struct osf_finger));
 	memcpy(&data->ip, sk->nh.iph, sizeof(struct iphdr));





	Evgeniy Polyakov

Only failure makes us experts. -- Theo de Raadt



More information about the netfilter-devel mailing list