diff options
Diffstat (limited to 'packet-aarp.c')
-rw-r--r-- | packet-aarp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-aarp.c b/packet-aarp.c index dcb2736c6a..4c49366ec5 100644 --- a/packet-aarp.c +++ b/packet-aarp.c @@ -1,7 +1,7 @@ /* packet-aarp.c * Routines for Appletalk ARP packet disassembly * - * $Id: packet-aarp.c,v 1.21 2000/08/07 03:20:20 guy Exp $ + * $Id: packet-aarp.c,v 1.22 2000/08/13 14:07:55 deniel Exp $ * * Simon Wilkinson <sxw@dcs.ed.ac.uk> * @@ -139,6 +139,8 @@ dissect_aarp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { int sha_offset, spa_offset, tha_offset, tpa_offset; gchar *sha_str, *spa_str, *tha_str, *tpa_str; + OLD_CHECK_DISPLAY_AS_DATA(proto_aarp, pd, offset, fd, tree); + if (!BYTES_ARE_IN_FRAME(offset, MIN_AARP_HEADER_SIZE)) { old_dissect_data(pd, offset, fd, tree); return; |