forked from Lainports/freebsd-ports
PR: ports/72654 Submitted by: David Gilbert <dgilbert@daveg.ca> Approved by: pat (maintainer, timeout) Approved by: clement (mentor)
11 lines
265 B
C
11 lines
265 B
C
--- source/rain_icmp.c.orig Fri Aug 17 07:36:45 2001
|
|
+++ source/rain_icmp.c Wed Apr 20 01:18:32 2005
|
|
@@ -256,7 +256,7 @@
|
|
}
|
|
|
|
|
|
- pkt->tot_len = (sizeof(struct icmp) + strlen(buffer));
|
|
+ pkt->tot_len = (sizeof(struct icmp) + sizeof(char)*packetsize);
|
|
|
|
|
|
/*
|