aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-llc.c
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2010-09-12 01:13:42 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2010-09-12 01:13:42 +0000
commitcfbd48b7853461a1f3bd3ca3c97639762c931515 (patch)
treeb1df9b5bf0c0e110dae312676a517a79798e6e91 /epan/dissectors/packet-llc.c
parent894941e532eec92ea593e6be66c0149edbb1d41c (diff)
Decode SLL payloads using a dissector table based on sll.ltype.
The idea and the original patch came from Sebastian Reichel <elektranox@gmail.com> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594390 svn path=/trunk/; revision=34101
Diffstat (limited to 'epan/dissectors/packet-llc.c')
-rw-r--r--epan/dissectors/packet-llc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-llc.c b/epan/dissectors/packet-llc.c
index 46ea990918..9fd78245ca 100644
--- a/epan/dissectors/packet-llc.c
+++ b/epan/dissectors/packet-llc.c
@@ -43,6 +43,7 @@
#include "packet-ipx.h"
#include "packet-netbios.h"
#include "packet-vines.h"
+#include "packet-sll.h"
#include <epan/sna-utils.h>
#include "packet-llc.h"
@@ -954,6 +955,7 @@ proto_reg_handoff_llc(void)
llc_handle = find_dissector("llc");
dissector_add("wtap_encap", WTAP_ENCAP_ATM_RFC1483, llc_handle);
+ dissector_add("sll.ltype", LINUX_SLL_P_802_2, llc_handle);
/* RFC 2043 */
dissector_add("ppp.protocol", PPP_LLC, llc_handle);
/* RFC 2353 */