diff options
author | Olivier Abad <oabad@noos.fr> | 2000-02-19 14:00:35 +0000 |
---|---|---|
committer | Olivier Abad <oabad@noos.fr> | 2000-02-19 14:00:35 +0000 |
commit | 44a7c1ec31a30d86770b369879e6d080913e6402 (patch) | |
tree | fde7deaf9eb8775d78061edbdd1e32865e3d565e /file.c | |
parent | cc56d8283a093a300ee86c1ba91a654130d766bf (diff) |
Used register_init_routine() to register "reinit_x25_hashtable()" as a
routine to be called every time a new capture file is opened instead of
calling it in read_cap_file() and do_capture().
svn path=/trunk/; revision=1651
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,7 +1,7 @@ /* file.c * File I/O routines * - * $Id: file.c,v 1.165 2000/02/19 07:59:53 guy Exp $ + * $Id: file.c,v 1.166 2000/02/19 14:00:34 oabad Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -81,7 +81,6 @@ #include "dfilter.h" #include "conversation.h" #include "globals.h" -#include "packet-x25.h" #include "plugins.h" @@ -298,10 +297,6 @@ read_cap_file(capture_file *cf) #define O_BINARY 0 #endif - /* The hash table used by the X.25 dissector must be re-initialized - * before starting a new capture */ - reinit_x25_hashtable(); - freeze_clist(cf); proto_tree_is_visible = FALSE; success = wtap_loop(cf->wth, 0, wtap_dispatch_cb, (u_char *) cf, &err); |