summaryrefslogtreecommitdiff
path: root/epan/address.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-02-22 01:55:04 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-02-22 01:55:04 +0000
commitf0c8a7ab65ef1de88c904b2e7cad1a7271a8080f (patch)
tree4b6368356b747ae30172bb23aaf62df99b2d20fa /epan/address.h
parent9edd68b0e18abc9fd5ec454ead938d282b3ce525 (diff)
downloadwireshark-f0c8a7ab65ef1de88c904b2e7cad1a7271a8080f.tar.gz
From Francisco Alcoba:
changed the behaviour of get_addr_name: - resolve to a name if the address supports it - call address_to_str if it does not, but the address is valid - return "NONE" if it is AT_NONE svn path=/trunk/; revision=13463
Diffstat (limited to 'epan/address.h')
-rw-r--r--epan/address.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/address.h b/epan/address.h
index e0618474f8..c373275a8c 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -27,6 +27,9 @@
#define __ADDRESS_H__
/* Types of addresses Ethereal knows about. */
+/* If a new address type is added here, a string representation procedure should */
+/* also be included in address_to_str_buf defined in to_str.c, for presentation purposes */
+
typedef enum {
AT_NONE, /* no link-layer address */
AT_ETHER, /* MAC (Ethernet, 802.x, FDDI) address */