summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannes <hannes>2002-11-13 16:08:39 +0000
committerhannes <hannes>2002-11-13 16:08:39 +0000
commit7c2ffdbf0642e56b92f49cc7246488c9b60c8236 (patch)
treeb30744a0da2dd5ba48288a04f66b1533b7af6711
parent717587453c151bf462fa37829e259167425af440 (diff)
downloadtcpdump-7c2ffdbf0642e56b92f49cc7246488c9b60c8236.tar.gz
added processing of LLC_SAPIP
-rw-r--r--print-llc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/print-llc.c b/print-llc.c
index cbdd0390..c245f958 100644
--- a/print-llc.c
+++ b/print-llc.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.50 2002-09-05 21:25:44 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.51 2002-11-13 16:08:39 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -101,6 +101,11 @@ llc_print(const u_char *p, u_int length, u_int caplen,
return (1);
}
+ if (llc.ssap == LLCSAP_IP && llc.dsap == LLCSAP_IP) {
+ ip_print(p+4, length-4);
+ return (1);
+ }
+
if (llc.ssap == LLCSAP_IPX && llc.dsap == LLCSAP_IPX &&
llc.llcui == LLC_UI) {
/*