diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-21 11:59:41 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-21 11:59:41 +0000 |
commit | b1fa4c19e643704927d09078780cb3b47815a231 (patch) | |
tree | 92fe3bc83abe8e93d7d20fe510e8811fa8bc7cbf /capture.c | |
parent | f104bae88ac133ce0fb35bbd75db74ec2e3a6998 (diff) |
From Irene Ruengeler:
* Add support in the GUI for pipes.
* Allow the local interfaces to be rescanned via the GUI.
* Allow remote interfaces to be added and deleted.
The GUI can be extended to support other ways of capturing.
svn path=/trunk/; revision=41105
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -699,7 +699,7 @@ capture_stat_start(capture_options *capture_opts) { /* Initialize the cache */ for (i = 0; i < capture_opts->all_ifaces->len; i++) { device = g_array_index(capture_opts->all_ifaces, interface_t, i); - if (&(device.if_info)) { + if (device.type != IF_PIPE && &(device.if_info)) { sc_item = g_malloc0(sizeof(if_stat_cache_item_t)); sc_item->name = g_strdup(device.if_info.name); sc->cache_list = g_list_append(sc->cache_list, sc_item); |