summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r--python-ethtool/etherinfo_struct.h2
1 files changed, 1 insertions, 1 deletions
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 */
};