aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/rtnet
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-17 01:05:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-17 01:05:21 +0000
commitd6d11d9bd2b9d9036097b52b37fc7423b5b959d7 (patch)
tree9908c419ca626d75fe772890c7965c7b18215868 /plugins/rtnet
parentecb72012632408bb94730aac5bebb1ae32aa8577 (diff)
From Erwin Rol:
Update e-mail address. Register the ARP dissector, as the RT-Net dissector tries to find it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8176 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/rtnet')
-rw-r--r--plugins/rtnet/AUTHORS2
-rw-r--r--plugins/rtnet/moduleinfo.h2
-rw-r--r--plugins/rtnet/packet-rtnet.c10
3 files changed, 8 insertions, 6 deletions
diff --git a/plugins/rtnet/AUTHORS b/plugins/rtnet/AUTHORS
index 463448f39a..2f7c1251c4 100644
--- a/plugins/rtnet/AUTHORS
+++ b/plugins/rtnet/AUTHORS
@@ -1,3 +1,3 @@
Author :
-Erwin Rol <erwin@muffin.org>
+Erwin Rol <erwin@erwinrol.com>
diff --git a/plugins/rtnet/moduleinfo.h b/plugins/rtnet/moduleinfo.h
index 6ee017ca31..b0217cddd8 100644
--- a/plugins/rtnet/moduleinfo.h
+++ b/plugins/rtnet/moduleinfo.h
@@ -13,5 +13,5 @@
#endif
/* Version number of package */
-#define VERSION "0.0.1"
+#define VERSION "0.0.2"
diff --git a/plugins/rtnet/packet-rtnet.c b/plugins/rtnet/packet-rtnet.c
index caeb5fb7d5..5520548ecb 100644
--- a/plugins/rtnet/packet-rtnet.c
+++ b/plugins/rtnet/packet-rtnet.c
@@ -1,9 +1,9 @@
/* packet-rtnet.c
* Routines for RTnet packet disassembly
*
- * $Id: packet-rtnet.c,v 1.2 2003/07/16 02:07:18 tpot Exp $
+ * $Id: packet-rtnet.c,v 1.3 2003/08/17 01:05:21 guy Exp $
*
- * Copyright (c) 2003 by Erwin Rol <erwin@muffin.org>
+ * Copyright (c) 2003 by Erwin Rol <erwin@erwinrol.com>
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -448,7 +448,8 @@ dissect_rtnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
if (!next_tvb)
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
- call_dissector(ip_handle, next_tvb, pinfo, tree);
+ if( tree )
+ call_dissector(ip_handle, next_tvb, pinfo, tree);
break;
@@ -456,7 +457,8 @@ dissect_rtnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
if (!next_tvb)
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
- call_dissector(arp_handle, next_tvb, pinfo, tree);
+ if( tree )
+ call_dissector(arp_handle, next_tvb, pinfo, tree);
break;