summaryrefslogtreecommitdiff
path: root/print-rt6.c
diff options
context:
space:
mode:
authorfenner <fenner>2001-06-15 22:17:31 +0000
committerfenner <fenner>2001-06-15 22:17:31 +0000
commita11713da52b0a72a1cb17f00fc339d332866e9ca (patch)
treedd995eb7eadd53ed1b259af3bf2c04b83b6ebaaf /print-rt6.c
parent982b17b22540dfb866148261ca0011831a5a56d7 (diff)
downloadtcpdump-a11713da52b0a72a1cb17f00fc339d332866e9ca.tar.gz
Remove #if 0 sections
Finish converting over to having the caller print the IP address (except for UDP, TCP and SCTP). This consists mostly of removing places where the IP address is printed, both in the big "case" in ip_print() and in the individual printers. Also fix a couple of spacing bugs.
Diffstat (limited to 'print-rt6.c')
-rw-r--r--print-rt6.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/print-rt6.c b/print-rt6.c
index 0bf78b81..8b249788 100644
--- a/print-rt6.c
+++ b/print-rt6.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.17 2000-12-13 07:57:05 itojun Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.18 2001-06-15 22:17:34 fenner Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -62,12 +62,6 @@ rt6_print(register const u_char *bp, register const u_char *bp2)
/* 'ep' points to the end of available data. */
ep = snapend;
-#if 0
- printf("%s > %s: ",
- ip6addr_string(&ip->ip6_src),
- ip6addr_string(&ip->ip6_dst));
-#endif
-
TCHECK(dp->ip6r_segleft);
printf("srcrt (len=%d", dp->ip6r_len); /*)*/