diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-11 22:25:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-11 22:25:33 +0000 |
commit | d8873511a77f2b58b420b83d719b204e4e18d127 (patch) | |
tree | 921a697c78e514c52d1a5ff85ed6f3e0b880dca0 /file.c | |
parent | 51875708f2d6af1b8b645e3ad4874b309bcf4d2c (diff) | |
download | wireshark-d8873511a77f2b58b420b83d719b204e4e18d127.tar.gz |
Frame numbers are unsigned, and they start at 1; 0 is what's used for
"unknown" for frame numbers. Note that in epan/frame_data.h, and make
the frame number in experts unsigned, and use 0 for "unknown", and
display it as an unsigned number - and, if it's 0, don't display it at
all.
Fix the signature of "expert_dlg_draw()" to match what a tap's draw
routine's signature is expected to be.
svn path=/trunk/; revision=15760
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -875,7 +875,7 @@ read_packet(capture_file *cf, long offset) /* Allocate the next list entry, and add it to the list. */ fdata = g_mem_chunk_alloc(cf->plist_chunk); - fdata->num = -1; + fdata->num = 0; fdata->next = NULL; fdata->prev = NULL; fdata->pfd = NULL; |