summaryrefslogtreecommitdiff
path: root/reordercap.c
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2014-05-28 17:47:41 +0200
committerEvan Huus <eapache@gmail.com>2014-06-04 00:48:59 +0000
commitc6d175ef67a091bdf024c11469a22b59f64f2345 (patch)
tree0c4cb2df7d3b8548728d428abe11eb1d69bab356 /reordercap.c
parent88581a68e74ede6235c98f8d616c0fca5cd3a2e2 (diff)
downloadwireshark-c6d175ef67a091bdf024c11469a22b59f64f2345.tar.gz
Guarantee that open routines are initialized
Open routines need to be initialized before try to open capture or add/remove routine. Change-Id: Ic3b88eef947ebd4a3dd2edf8120bb6bd8aec0765 Reviewed-on: https://code.wireshark.org/review/1874 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/reordercap.c b/reordercap.c
index ace835293c..ce563bea72 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -204,8 +204,6 @@ int main(int argc, char *argv[])
exit(1);
}
- init_open_routines();
-
/* Open infile */
/* TODO: if reordercap is ever changed to give the user a choice of which
open_routine reader to use, then the following needs to change. */