From a05f17ca5737d03b127dd599363f009d5c6c8d48 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 16 Dec 2013 12:17:03 +0100 Subject: Make the internal MAC address a Python string object Signed-off-by: David Sommerseth --- python-ethtool/etherinfo_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python-ethtool/etherinfo_struct.h') diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h index 72e4962..e5e6ecd 100644 --- a/python-ethtool/etherinfo_struct.h +++ b/python-ethtool/etherinfo_struct.h @@ -33,7 +33,7 @@ struct etherinfo { char *device; /**< Device name */ int index; /**< NETLINK index reference */ - char *hwaddress; /**< HW address / MAC address of device */ + PyObject *hwaddress; /**< string: HW address / MAC address of device */ PyObject *ipv4_addresses; /**< list of PyNetlinkIPv4Address instances */ PyObject *ipv6_addresses; /**< list of PyNetlinkIPv6Addresses instances */ }; -- cgit