]> The Tcpdump Group git mirrors - tcpdump/commitdiff
added processing of LLC_SAPIP
authorhannes <hannes>
Wed, 13 Nov 2002 16:08:39 +0000 (16:08 +0000)
committerhannes <hannes>
Wed, 13 Nov 2002 16:08:39 +0000 (16:08 +0000)
print-llc.c

index cbdd03900b1d273cbaf3148c07052b26e3c0e390..c245f9585fcabb119a81fed1c8ef1ac0769212f0 100644 (file)
@@ -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) {
                /*