1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/ntraceroute/files/patch-traceroute.c
Ryan Steinmetz 2967a2bfa8 - Bring back a patch to fix ntraceroute on 64-bit systems (this was missed whenever this port was revived)
- Bump PORTREVISION

Submitted by:	Gleb Kozyrev <gleb@gkoz.com>
Obtained from:	Bill Fenner <fenner@research.att.com>, ports/103988
2011-10-19 16:48:23 +00:00

20 lines
415 B
C

--- ./traceroute.c.orig 2011-10-19 10:04:10.000000000 -0400
+++ ./traceroute.c 2011-10-19 10:04:08.000000000 -0400
@@ -2,6 +2,7 @@
/*
* STILL BROKEN: traceroute -g on linux (LSRR)
*/
+#include <string.h>
#define TRACE_TOS 1
#define SPRAY
#define FIXT
@@ -798,7 +799,7 @@
struct icmp icmp_probe;
} ip_payload;
#endif /* V6.3.0 */
-};
+} __attribute__((packed));
#ifdef SPRAY
/*