summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-chdlc.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-05-29 18:17:16 +0000
committersam <sam@FreeBSD.org>2005-05-29 18:17:16 +0000
commit777fc78fe5d7142db2a7e4b9fc3ad2f082e02446 (patch)
tree00ad2d6dd16ad34ea9cdf4e6521ac3fe7179a0f3 /contrib/tcpdump/print-chdlc.c
parent8c6500f369940b5e6f664368df8ecb0ac8e346d7 (diff)
parent88a191f109e4bbf287e317e4115185aa904a7757 (diff)
downloadFreeBSD-src-777fc78fe5d7142db2a7e4b9fc3ad2f082e02446.zip
FreeBSD-src-777fc78fe5d7142db2a7e4b9fc3ad2f082e02446.tar.gz
This commit was generated by cvs2svn to compensate for changes in r146773,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/print-chdlc.c')
-rw-r--r--contrib/tcpdump/print-chdlc.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/tcpdump/print-chdlc.c b/contrib/tcpdump/print-chdlc.c
index 583b0ba..730d1aa 100644
--- a/contrib/tcpdump/print-chdlc.c
+++ b/contrib/tcpdump/print-chdlc.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.28.2.3 2004/03/24 00:46:03 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.32 2005/04/06 21:32:38 mcr Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -76,7 +76,7 @@ chdlc_if_print(const struct pcap_pkthdr *h, register const u_char *p)
ip = (const struct ip *)(p + CHDLC_HDRLEN);
switch (proto) {
case ETHERTYPE_IP:
- ip_print((const u_char *)ip, length);
+ ip_print(gndo, (const u_char *)ip, length);
break;
#ifdef INET6
case ETHERTYPE_IPV6:
@@ -182,3 +182,11 @@ chdlc_slarp_print(const u_char *cp, u_int length)
trunc:
printf("[|slarp]");
}
+
+
+/*
+ * Local Variables:
+ * c-style: whitesmith
+ * c-basic-offset: 8
+ * End:
+ */
OpenPOWER on IntegriCloud