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
This commit is contained in:
Olivier Abad 2000-01-15 10:47:56 +00:00
parent d24c46a027
commit c85d49dc19
1 changed files with 5 additions and 1 deletions

View File

@ -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