summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2007-09-14 01:30:02 +0000
committerguy <guy>2007-09-14 01:30:02 +0000
commit10f9f9ba0ffa6b052f789eedcaef37b9a06f15ee (patch)
tree71fa33550b590eb14b338c511ba9b7efb36dd9ba
parente0f53fdd5be327094bc61600b9571daa7ecfce51 (diff)
downloadtcpdump-10f9f9ba0ffa6b052f789eedcaef37b9a06f15ee.tar.gz
From Victor Oppleman: add support for RFC 1393 traceroute.
-rw-r--r--CREDITS1
-rw-r--r--ip.h3
-rw-r--r--print-ip.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/CREDITS b/CREDITS
index 06820b03..d327880c 100644
--- a/CREDITS
+++ b/CREDITS
@@ -139,6 +139,7 @@ Additional people who have contributed patches:
Timo Koskiahde
Tony Li <tli@procket.com>
Uns Lider <unslider@miranda.org>
+ Victor Oppleman <oppleman@users.sourceforge.net>
Wesley Griffin <wgriffin@users.sourceforge.net>
Wilbert de Graaf <wilbertdg@hetnet.nl>
Yen Yen Lim
diff --git a/ip.h b/ip.h
index 3a496da2..ae488804 100644
--- a/ip.h
+++ b/ip.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.11 2004-09-27 21:13:10 hannes Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.11.2.1 2007-09-14 01:30:02 guy Exp $ (LBL) */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -102,6 +102,7 @@ struct ip {
#define IPOPT_RR 7 /* record packet route */
#define IPOPT_TS 68 /* timestamp */
+#define IPOPT_RFC1393 82 /* traceroute RFC 1393 */
#define IPOPT_SECURITY 130 /* provide s,c,h,tcc */
#define IPOPT_LSRR 131 /* loose source route */
#define IPOPT_SATID 136 /* satnet id */
diff --git a/print-ip.c b/print-ip.c
index 3b967ec9..19648959 100644
--- a/print-ip.c
+++ b/print-ip.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.149.2.8 2007-01-29 20:57:47 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.149.2.9 2007-09-14 01:30:02 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -50,6 +50,7 @@ struct tok ip_option_values[] = {
{ IPOPT_SSRR, "SSRR" },
{ IPOPT_LSRR, "LSRR" },
{ IPOPT_RA, "RA" },
+ { IPOPT_RFC1393, "traceroute" },
{ 0, NULL }
};