From: guy Date: Fri, 14 Sep 2007 01:30:02 +0000 (+0000) Subject: From Victor Oppleman: add support for RFC 1393 traceroute. X-Git-Tag: tcpdump-3.9.8~1 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/10f9f9ba0ffa6b052f789eedcaef37b9a06f15ee From Victor Oppleman: add support for RFC 1393 traceroute. --- 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 Uns Lider + Victor Oppleman Wesley Griffin Wilbert de Graaf 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 } };