summaryrefslogtreecommitdiff
path: root/plugins/ethercat
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-23 16:25:28 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-23 16:25:28 +0000
commit72ca9d0e614945d09322a2210cb43f2ec41554c6 (patch)
treeeface143fd680320fa924d005e676b85f64e72e6 /plugins/ethercat
parent9cde3e1a44e874ac5beb9e539dd4819a1281a096 (diff)
downloadwireshark-72ca9d0e614945d09322a2210cb43f2ec41554c6.tar.gz
Store pointers to previously displayed and captured packet, not nstime_t deltas.
This commit reduces size (from 144B to 128B on AMD64) of frame_data structure. Part of bug 5821: Reduce per-packet memory requirements. svn path=/trunk/; revision=45071
Diffstat (limited to 'plugins/ethercat')
-rw-r--r--plugins/ethercat/packet-esl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/ethercat/packet-esl.c b/plugins/ethercat/packet-esl.c
index b3e1f9fc0b..34e6dfdfd8 100644
--- a/plugins/ethercat/packet-esl.c
+++ b/plugins/ethercat/packet-esl.c
@@ -252,8 +252,6 @@ void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
pinfo->fd->abs_ts = ts;
nstime_add(&pinfo->fd->rel_ts, &ts_delta);
- nstime_add(&pinfo->fd->del_dis_ts, &ts_delta);
- nstime_add(&pinfo->fd->del_cap_ts, &ts_delta);
}
}