bugfix: reset the tap listeners, when the capture file is closed
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 May 2004 15:04:14 +0000 (15:04 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 May 2004 15:04:14 +0000 (15:04 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10769 f5534014-38df-0310-8fa8-9805f1628bb7

file.c

diff --git a/file.c b/file.c
index aa9283af680b7bf20c6cbf5310e6177a372fb517..6143797aa4e844e13660b77faaec209c4e305aee 100644 (file)
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
 /* file.c
  * File I/O routines
  *
- * $Id: file.c,v 1.381 2004/05/01 22:55:21 obiot Exp $
+ * $Id: file.c,v 1.382 2004/05/02 15:04:14 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -279,6 +279,8 @@ cf_close(capture_file *cf)
   set_menus_for_capture_in_progress(FALSE);
   set_menus_for_selected_tree_row(cf);
 
+  reset_tap_listeners();
+
   /* We have no file open. */
   cf->state = FILE_CLOSED;
 }