summaryrefslogtreecommitdiff
path: root/print-atm.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-atm.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-atm.c')
-rw-r--r--print-atm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-atm.c b/print-atm.c
index b0c92b88..e8151f63 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.15 2000-09-23 08:26:31 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.16 2000-09-23 08:54:26 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -37,8 +37,6 @@ struct rtentry;
#include <netinet/in.h>
#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_var.h>
#include <stdio.h>
#include <pcap.h>