summaryrefslogtreecommitdiffstats
path: root/debian/patches/02-path.patch
blob: 8fa01167087026a3d7801d5d5b44d0024db4fdf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Author: Daniel Baumann <mail@daniel-baumann.ch>
Description: Adjust path.
Reviewed-By: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2016-03-09

diff -Naurp traceroute.orig/wrappers/lft traceroute/wrappers/lft
--- traceroute.orig/wrappers/lft	2008-04-21 18:54:41.000000000 +0200
+++ traceroute/wrappers/lft	2008-05-03 09:18:47.000000000 +0200
@@ -113,5 +113,5 @@ opts="$opts -w $sec.${timeout#$sec}"
 
 opts="$method $opts"
 
-exec traceroute $opts $host $length
+exec /usr/bin/traceroute.db $opts $host $length
 
diff -Naurp traceroute.orig/wrappers/tcptraceroute traceroute/wrappers/tcptraceroute
--- traceroute.orig/wrappers/tcptraceroute	2008-04-21 18:54:46.000000000 +0200
+++ traceroute/wrappers/tcptraceroute	2008-05-03 09:18:47.000000000 +0200
@@ -74,5 +74,5 @@ echo "Running:
 	traceroute $opts $host $length" >&2
 
 
-exec traceroute $opts $host $length
+exec /usr/bin/traceroute.db $opts $host $length
 
diff -Naurp traceroute.orig/wrappers/traceproto traceroute/wrappers/traceproto
--- traceroute.orig/wrappers/traceproto	2008-04-21 18:55:06.000000000 +0200
+++ traceroute/wrappers/traceproto	2008-05-03 09:18:47.000000000 +0200
@@ -122,6 +122,6 @@ opts="$opts -z $sendwait"
 while [ "$cont" -gt 0 ]
 do
     cont=$(($cont - 1))
-    traceroute $opts $host $length
+    /usr/bin/traceroute.db $opts $host $length
 done
 
diff -Naurp traceroute.orig/wrappers/traceroute-nanog traceroute/wrappers/traceroute-nanog
--- traceroute.orig/wrappers/traceroute-nanog	2008-04-21 18:55:17.000000000 +0200
+++ traceroute/wrappers/traceroute-nanog	2008-05-03 09:18:47.000000000 +0200
@@ -72,5 +72,5 @@ done
 
 [ -z "$spray" ] && opts="$opts -N 1"
 
-exec traceroute $opts $1 $2
+exec /usr/bin/traceroute.db $opts $1 $2