aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-adb.c')
-rw-r--r--epan/dissectors/packet-adb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-adb.c b/epan/dissectors/packet-adb.c
index cda947ffdb..88c794beb2 100644
--- a/epan/dissectors/packet-adb.c
+++ b/epan/dissectors/packet-adb.c
@@ -167,8 +167,8 @@ save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length,
frame_number = pinfo->num;
- if (pinfo->phdr->presence_flags & WTAP_HAS_INTERFACE_ID)
- interface_id = pinfo->phdr->interface_id;
+ if (pinfo->rec->presence_flags & WTAP_HAS_INTERFACE_ID)
+ interface_id = pinfo->rec->rec_header.packet_header.interface_id;
else
interface_id = 0;
@@ -391,8 +391,8 @@ dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
return offset;
}
- if (pinfo->phdr->presence_flags & WTAP_HAS_INTERFACE_ID)
- interface_id = pinfo->phdr->interface_id;
+ if (pinfo->rec->presence_flags & WTAP_HAS_INTERFACE_ID)
+ interface_id = pinfo->rec->rec_header.packet_header.interface_id;
else
interface_id = 0;