diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-30 00:01:24 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-30 00:01:24 +0000 |
commit | adffc00a0fff33042358f30f9a0a3a67504517a4 (patch) | |
tree | 92d0e8b170aa7eae1b37072fba3ad1335ff93316 /epan/dissectors/packet-arp.c | |
parent | abf623b5f1fa1f1a4afcfe5dcda4e5ca42b61ce6 (diff) |
A MAC address is a sequence of 6 8-bit unsigned values (guint8), not a
sequence of 6 ASCII characters (gchar).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25395 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-arp.c')
-rw-r--r-- | epan/dissectors/packet-arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-arp.c b/epan/dissectors/packet-arp.c index 263454f5cb..f548761817 100644 --- a/epan/dissectors/packet-arp.c +++ b/epan/dissectors/packet-arp.c @@ -421,7 +421,7 @@ static gint address_equal_func(gconstpointer v, gconstpointer v2) the same IP address - report if found (+ return TRUE and set out param) */ static gboolean check_for_duplicate_addresses(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, - const gchar *mac, guint32 ip, + const guint8 *mac, guint32 ip, guint32 *duplicate_ip) { struct address_hash_value *value; |