Fix a copy/paste error

svn path=/trunk/; revision=45620
This commit is contained in:
Jakub Zawadzki 2012-10-17 21:11:58 +00:00
parent 6b5045dd7b
commit 59e2c7fd96
1 changed files with 1 additions and 1 deletions

2
file.c
View File

@ -3931,7 +3931,7 @@ save_packet(capture_file *cf _U_, frame_data *fdata,
hdr.presence_flags = 0;
if (fdata->flags.has_ts)
hdr.presence_flags |= WTAP_HAS_TS;
if (fdata->flags.has_ts)
if (fdata->flags.has_if_id)
hdr.presence_flags |= WTAP_HAS_INTERFACE_ID;
hdr.ts.secs = fdata->abs_ts.secs;
hdr.ts.nsecs = fdata->abs_ts.nsecs;