aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-02 15:04:14 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-02 15:04:14 +0000
commitf02a0353ac7ec930fd8ccf80c720e03554524086 (patch)
tree25aa6729ba6c2fa2ddcbc4743b04ab37e409fd20 /file.c
parent32b38be04d7943c1ef9686ec72ca725555196dc7 (diff)
bugfix: reset the tap listeners, when the capture file is closed
svn path=/trunk/; revision=10769
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.c b/file.c
index aa9283af68..6143797aa4 100644
--- 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;
}