pcapng->interface_data is an array of interface_data_t.

Change-Id: Ida44a8820948d509e74ab8475979e8695abb4288
Reviewed-on: https://code.wireshark.org/review/1630
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-05-13 19:24:41 -07:00
parent 2c00d66fb7
commit dcdd076ab0
1 changed files with 1 additions and 1 deletions

View File

@ -3647,7 +3647,7 @@ pcapng_dump_open(wtap_dumper *wdh, int *err)
wdh->subtype_close = pcapng_dump_close;
pcapng = (pcapng_dump_t *)g_malloc0(sizeof(pcapng_dump_t));
wdh->priv = (void *)pcapng;
pcapng->interface_data = g_array_new(FALSE, FALSE, sizeof(wtapng_if_descr_t));
pcapng->interface_data = g_array_new(FALSE, FALSE, sizeof(interface_data_t));
if ((wdh->number_of_interfaces == 0) || (wdh->interface_data == NULL)) {
pcapng_debug0("There are no interfaces. Can't handle that...");