summaryrefslogtreecommitdiff
path: root/net/tcptraceroute-devel/files/patch-tcptraceroute.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /net/tcptraceroute-devel/files/patch-tcptraceroute.c
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'net/tcptraceroute-devel/files/patch-tcptraceroute.c')
-rw-r--r--net/tcptraceroute-devel/files/patch-tcptraceroute.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/net/tcptraceroute-devel/files/patch-tcptraceroute.c b/net/tcptraceroute-devel/files/patch-tcptraceroute.c
deleted file mode 100644
index 28f15e1b7051..000000000000
--- a/net/tcptraceroute-devel/files/patch-tcptraceroute.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- tcptraceroute.c.orig Tue Oct 7 16:04:50 2003
-+++ tcptraceroute.c Tue Oct 7 16:05:22 2003
-@@ -391,9 +391,9 @@
- void usage(void)
- {
- printf("\n%s\n%s\n", VERSION, BANNER);
-- fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>]
-- [-l <packet length>] [-q <number of queries>] [-t <tos>]
-- [-m <max ttl>] [-pP] <source port>] [-s <source address>]
-+ fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>] \
-+ [-l <packet length>] [-q <number of queries>] [-t <tos>] \
-+ [-m <max ttl>] [-pP] <source port>] [-s <source address>] \
- [-w <wait time>] <host> [destination port] [packet length]\n\n", name);
- }
-
-@@ -1182,8 +1182,8 @@
- if (! (pcap = pcap_open_live(device, offset + SNAPLEN, 0, 10, errbuf)))
- fatal("pcap_open_live failed: %s", errbuf);
-
-- safe_snprintf(filter, TEXTSIZE, "
-- (tcp and src host %s and src port %d and dst host %s)
-+ safe_snprintf(filter, TEXTSIZE, " \
-+ (tcp and src host %s and src port %d and dst host %s) \
- or ((icmp[0] == 11 or icmp[0] == 3) and dst host %s)",
- iptos(dst_ip), dst_prt, iptos(src_ip), iptos(src_ip));
-