diff options
author | Jeff Foster <jfoste@woodward.com> | 2001-03-23 14:44:04 +0000 |
---|---|---|
committer | Jeff Foster <jfoste@woodward.com> | 2001-03-23 14:44:04 +0000 |
commit | 395b68ea19c7309f32d663776e1b3da37bff0a5b (patch) | |
tree | 3f409c6b10b05a765a7b836578421e65d7a7e231 /epan/epan.c | |
parent | c5791fac0cd877c895db31fc1ac4bb92a0c2c225 (diff) |
Changes required to support multiple named data sources.
Tvbuffers changed to added the data source name,
GUI and printing code changed to support these changes
and display the multiple hex views.
svn path=/trunk/; revision=3165
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c index 7ebf350f12..d18f40eccf 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -1,6 +1,6 @@ /* epan.h * - * $Id: epan.c,v 1.6 2001/02/01 20:21:16 gram Exp $ + * $Id: epan.c,v 1.7 2001/03/23 14:44:01 jfoster Exp $ * * Ethereal Protocol Analyzer Library * @@ -77,6 +77,11 @@ epan_dissect_new(void* pseudo_header, const guint8* data, frame_data *fd, proto_ edt = g_new(epan_dissect_t, 1); + /* start with empty data source list */ + if ( fd->data_src) + g_slist_free( fd->data_src); + fd->data_src = 0; + /* XXX - init tree */ edt->tree = tree; |