aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorOlivier Abad <oabad@noos.fr>2000-01-15 10:47:56 +0000
committerOlivier Abad <oabad@noos.fr>2000-01-15 10:47:56 +0000
commitc85d49dc19a7ce5883b912beeb76b028bf2d09f6 (patch)
treea47cef0b92c89363b11939dda64480086941e2e9 /tethereal.c
parentd24c46a0273d7ed1f9083e4a0e123773fb81fc1e (diff)
downloadwireshark-c85d49dc19a7ce5883b912beeb76b028bf2d09f6.tar.gz
wireshark-c85d49dc19a7ce5883b912beeb76b028bf2d09f6.tar.bz2
wireshark-c85d49dc19a7ce5883b912beeb76b028bf2d09f6.zip
Add a call to init_plugins() in order to read the plugins.status file and
enable plugins if their saved status is "active". svn path=/trunk/; revision=1487
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index a34aefd627..c2df1026d4 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.6 2000/01/15 10:23:10 guy Exp $
+ * $Id: tethereal.c,v 1.7 2000/01/15 10:47:56 oabad Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -77,6 +77,7 @@
#include "util.h"
#include "ui_util.h"
#include "conversation.h"
+#include "plugins.h"
static guint32 firstsec, firstusec;
static guint32 prevsec, prevusec;
@@ -116,6 +117,9 @@ ethereal_proto_init(void) {
proto_init();
init_dissect_udp();
dfilter_init();
+#ifdef HAVE_PLUGINS
+ init_plugins();
+#endif
}
static void