forked from osmocom/wireshark
Change comment to Loop ower all IDB:s that appear before any packets sugested by Guy, there can be more IDBs in a cpture file
svn path=/trunk/; revision=41096
This commit is contained in:
parent
ce86c08b58
commit
311116da93
|
@ -1612,7 +1612,7 @@ pcapng_open(wtap *wth, int *err, gchar **err_info)
|
||||||
wth->interface_data = g_array_new(FALSE, FALSE, sizeof(wtapng_if_descr_t));
|
wth->interface_data = g_array_new(FALSE, FALSE, sizeof(wtapng_if_descr_t));
|
||||||
wth->number_of_interfaces = 0;
|
wth->number_of_interfaces = 0;
|
||||||
|
|
||||||
/* Loop ower all IDB:s */
|
/* Loop ower all IDB:s that appear before any packets */
|
||||||
while(1){
|
while(1){
|
||||||
bytes_read = pcapng_read_block(wth->fh, FALSE, &pn, &wblock, err, err_info);
|
bytes_read = pcapng_read_block(wth->fh, FALSE, &pn, &wblock, err, err_info);
|
||||||
wth->data_offset += bytes_read;
|
wth->data_offset += bytes_read;
|
||||||
|
|
Loading…
Reference in New Issue