aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/dbs-etherwatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/dbs-etherwatch.c')
-rw-r--r--wiretap/dbs-etherwatch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wiretap/dbs-etherwatch.c b/wiretap/dbs-etherwatch.c
index 7bc6ff1be6..b07677c480 100644
--- a/wiretap/dbs-etherwatch.c
+++ b/wiretap/dbs-etherwatch.c
@@ -201,7 +201,6 @@ int dbs_etherwatch_open(wtap *wth, int *err, gchar **err_info)
return -1;
}
- wth->data_offset = 0;
wth->file_encap = WTAP_ENCAP_ETHERNET;
wth->file_type = WTAP_FILE_DBS_ETHERWATCH;
wth->snapshot_length = 0; /* not known */
@@ -239,7 +238,6 @@ static gboolean dbs_etherwatch_read(wtap *wth, int *err, gchar **err_info,
*/
wth->pseudo_header.eth.fcs_len = 0;
- wth->data_offset = offset;
*data_offset = offset;
return TRUE;
}