rpms/traceroute/devel traceroute-1.0.4-compat.patch,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jan 9 09:34:46 UTC 2006


Author: rvokal

Update of /cvs/dist/rpms/traceroute/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32289

Added Files:
	traceroute-1.0.4-compat.patch 
Log Message:
 + patch 

traceroute-1.0.4-compat.patch:
 traceroute.1 |    8 ++++----
 traceroute.c |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

--- NEW FILE traceroute-1.0.4-compat.patch ---
--- traceroute-1.0.4/traceroute.1.compat	2003-04-10 10:51:53.000000000 +0200
+++ traceroute-1.0.4/traceroute.1	2006-01-09 10:22:48.000000000 +0100
@@ -1,4 +1,4 @@
-.TH TRACEROUTE 1 "6 December 2000"
+.TH TRACEROUTE 8 "6 December 2000"
 .UC 6
 .SH NAME
 traceroute \- print the route packets take to network host
@@ -13,7 +13,7 @@
 .BR "" "[" "-t tos" "] [" "-w timeout" "] [" "-q nqueries" ] 
 .br
 .ti +8
-.BR "" "[" "-S source_addr" "] [" "-I interface" "]
+.BR "" "[" "-s source_addr" "] [" "-i interface" "]
 .br
 .ti +8
 .BR "" [ "-g gateway" "] " host " [" "packetlen" "]"
@@ -74,7 +74,7 @@
 Not very useful, because most routers have disabled source routing
 for security reasons.
 .TP
-.BI \-I " interface
+.BI \-i " interface
 Specifies the interface through which to 
 .I traceroute
 should send packets. By default, the interface is selected
@@ -146,7 +146,7 @@
 .IP
 This feature hasn't been implemented yet.
 .TP
-.BI \-S " source_addr
+.BI \-s " source_addr
 Chooses an alternative source address. Note that you must select the
 address of one of the interfaces.
 By default, the address of the outgoing interface is used.
--- traceroute-1.0.4/traceroute.c.compat	2005-12-19 15:44:09.000000000 +0100
+++ traceroute-1.0.4/traceroute.c	2006-01-09 10:24:05.000000000 +0100
@@ -133,7 +133,7 @@
 	/* Set the locale - needed for international domain names */
 	setlocale (LC_ALL, "");
 
-	while ((c = getopt(argc, argv, "46DFVf:g:I:m:N:np:t:w:q:rRS:")) != -1) {
+	while ((c = getopt(argc, argv, "46DFVf:g:i:m:N:np:t:w:q:rRs:")) != -1) {
 		switch (c) {
 		case '4':
 			af = AF_INET;
@@ -160,7 +160,7 @@
 			opt_gateway_name[ngateways++] = optarg;
 			break;
 
-		case 'I':
+		case 'i':
 			src_device = optarg;
 			break;
 
@@ -200,7 +200,7 @@
 			opt_rr = 1;
 			break;
 
-		case 'S':
+		case 's':
 			src_addr_name = optarg;
 			break;
 
@@ -364,7 +364,7 @@
 {
 	fprintf(stderr,
 	"usage: traceroute [-nFV] [-f first_ttl] [-m max_hops] [-p port]\n"
-	"           [-S source_addr] [-I interface] [-g gateway]\n"
+	"           [-s source_addr] [-i interface] [-g gateway]\n"
 	"           [-t tos] [-w timeout] [-q nqueries] host [packetlen]\n");
 	exit(1);
 }




More information about the fedora-cvs-commits mailing list