summaryrefslogtreecommitdiff
path: root/wiretap/snoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/snoop.c')
-rw-r--r--wiretap/snoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c
index e5f831f3d8..2a5cee65ec 100644
--- a/wiretap/snoop.c
+++ b/wiretap/snoop.c
@@ -655,7 +655,7 @@ snoop_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
*/
if (wth->file_encap == WTAP_ENCAP_ATM_PDUS &&
phdr->pseudo_header.atm.type == TRAF_LANE) {
- atm_guess_lane_type(phdr, buffer_start_ptr(buf));
+ atm_guess_lane_type(phdr, ws_buffer_start_ptr(buf));
}
return rec_size - ((guint)sizeof hdr + packet_size);