aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-03-26 04:01:31 +0000
committerGerald Combs <gerald@wireshark.org>2004-03-26 04:01:31 +0000
commit320e375f095feab354c9e5ec46d5f1dd6189b677 (patch)
treefe532193a6e1761f3abd718e7528fd8293eef5ac /plugins
parent512e60ea912b00d44ec48b14df47b9249e99dbed (diff)
Call plugin_address_table_init() before proto_register_protocol().
svn path=/trunk/; revision=10497
Diffstat (limited to 'plugins')
-rw-r--r--plugins/rudp/packet-rudp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rudp/packet-rudp.c b/plugins/rudp/packet-rudp.c
index de0e33a6c3..6b61e71437 100644
--- a/plugins/rudp/packet-rudp.c
+++ b/plugins/rudp/packet-rudp.c
@@ -2,7 +2,7 @@
* Routines for Reliable UDP Protocol.
* Copyright 2004, Duncan Sargeant <dunc-ethereal@rcpt.to>
*
- * $Id: packet-rudp.c,v 1.2 2004/03/25 23:09:18 guy Exp $
+ * $Id: packet-rudp.c,v 1.3 2004/03/26 04:01:31 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -205,6 +205,8 @@ _U_
};
+ plugin_address_table_init(pat);
+
if (proto_rudp == -1) {
proto_rudp = proto_register_protocol (
"Reliable UDP", /* name */
@@ -213,8 +215,6 @@ _U_
);
}
- plugin_address_table_init(pat);
-
proto_register_field_array(proto_rudp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}