[tap-rtp-common.c] Change g_list_append() to g_list_prepend().

Change-Id: I6ecc6658f75056db55dc68497956019a52fad0e6
Reviewed-on: https://code.wireshark.org/review/24699
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2017-12-04 10:37:32 +01:00 committed by Anders Broman
parent 72c2256633
commit d747900bc8
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ int rtpstream_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, con
stream_info = g_new(rtp_stream_info_t,1);
*stream_info = new_stream_info; /* memberwise copy of struct */
tapinfo->strinfo_list = g_list_append(tapinfo->strinfo_list, stream_info);
tapinfo->strinfo_list = g_list_prepend(tapinfo->strinfo_list, stream_info);
}
/* get RTP stats for the packet */