summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-sl.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-05-27 02:11:31 +0000
committerfenner <fenner@FreeBSD.org>1997-05-27 02:11:31 +0000
commita9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65 (patch)
treee094325bbde8f6c3c673d34a84cb20359f0f55fd /contrib/tcpdump/print-sl.c
parent97a804ef88319863cfa8146c068ec895f4ad8316 (diff)
downloadFreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.zip
FreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.tar.gz
Virgin import of LBL tcpdump v3.3
Diffstat (limited to 'contrib/tcpdump/print-sl.c')
-rw-r--r--contrib/tcpdump/print-sl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/tcpdump/print-sl.c b/contrib/tcpdump/print-sl.c
index 631714d..dfea3bf 100644
--- a/contrib/tcpdump/print-sl.c
+++ b/contrib/tcpdump/print-sl.c
@@ -20,8 +20,8 @@
*/
#ifndef lint
-static char rcsid[] =
- "@(#)$Header: print-sl.c,v 1.38 96/07/15 18:23:25 leres Exp $ (LBL)";
+static const char rcsid[] =
+ "@(#) $Header: print-sl.c,v 1.41 96/12/10 23:19:42 leres Exp $ (LBL)";
#endif
#ifdef HAVE_NET_SLIP_H
@@ -139,7 +139,7 @@ sliplink_print(register const u_char *p, register const struct ip *ip,
case TYPE_UNCOMPRESSED_TCP:
/*
- * The connection id is stored in the IP protcol field.
+ * The connection id is stored in the IP protocol field.
* Get it from the link layer since sl_uncompress_tcp()
* has restored the IP header copy to IPPROTO_TCP.
*/
@@ -243,6 +243,7 @@ compressed_sl_print(const u_char *chdr, const struct ip *ip,
#include <sys/types.h>
#include <sys/time.h>
+#include <pcap.h>
#include <stdio.h>
#include "interface.h"
OpenPOWER on IntegriCloud