summaryrefslogtreecommitdiff
path: root/print-ripng.c
diff options
context:
space:
mode:
authorguy <guy>2000-09-23 08:54:24 +0000
committerguy <guy>2000-09-23 08:54:24 +0000
commit536f5125835b031330f472aebed8241a1718b018 (patch)
treea334e9acc3b3104a347ebfebffead00d12f19c68 /print-ripng.c
parent7b50febe28e54e076a9917164eeddec4bc7a170e (diff)
downloadtcpdump-536f5125835b031330f472aebed8241a1718b018.tar.gz
Add an "ip.h" header, to declare the IP stuff needed by dissectors, and
have dissectors include them rather than <netinet/ip.h> or <netinet/ip_var.h>, if they actually need that stuff. Put the declarations of the ICMP stuff directly into "print-icmp.c". Remove all unnecessary includes of <netinet/ip*.h> files. Copy the byte-order stuff from "nameser.h" into "tcp.h".
Diffstat (limited to 'print-ripng.c')
-rw-r--r--print-ripng.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-ripng.c b/print-ripng.c
index bade766e..d38ce82b 100644
--- a/print-ripng.c
+++ b/print-ripng.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.4 2000-09-23 08:26:37 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.5 2000-09-23 08:54:38 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -37,8 +37,6 @@ static const char rcsid[] =
#include <netinet/in.h>
#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_var.h>
#include <errno.h>
#include <stdio.h>