aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/rtnet
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-02 21:04:32 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-02 21:04:32 +0000
commit72282f4301f2f72b6a91900674f6d660187a367d (patch)
tree4d678f0b62e278b97b05b27399ab269d394c871c /plugins/rtnet
parentcc50dad08982553c675e47f1951ded7ea86f5b0c (diff)
RTNET has no preferences, so don't register a preferences module for it.
svn path=/trunk/; revision=8589
Diffstat (limited to 'plugins/rtnet')
-rw-r--r--plugins/rtnet/packet-rtnet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/rtnet/packet-rtnet.c b/plugins/rtnet/packet-rtnet.c
index 2e857d73d5..c713b6d052 100644
--- a/plugins/rtnet/packet-rtnet.c
+++ b/plugins/rtnet/packet-rtnet.c
@@ -1,7 +1,7 @@
/* packet-rtnet.c
* Routines for RTnet packet disassembly
*
- * $Id: packet-rtnet.c,v 1.4 2003/09/05 07:44:50 jmayer Exp $
+ * $Id: packet-rtnet.c,v 1.5 2003/10/02 21:04:32 guy Exp $
*
* Copyright (c) 2003 by Erwin Rol <erwin@erwinrol.com>
*
@@ -42,7 +42,6 @@
#include <string.h>
#include <epan/packet.h>
#include <epan/resolv.h>
-#include "prefs.h"
#include "etypes.h"
#include <epan/strutil.h>
@@ -690,15 +689,11 @@ proto_register_rtnet(void) {
&ett_rtnet,
};
- module_t *rtnet_module;
-
proto_rtnet = proto_register_protocol("RTNET",
"RTNET","rtnet");
proto_register_field_array(proto_rtnet,hf,array_length(hf));
proto_register_subtree_array(ett,array_length(ett));
- rtnet_module = prefs_register_protocol(proto_rtnet,
- proto_reg_handoff_rtnet);
}
/* The registration hand-off routing */