diff options
author | David Sommerseth <davids@redhat.com> | 2013-12-16 12:17:03 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-12-16 12:23:43 +0100 |
commit | a05f17ca5737d03b127dd599363f009d5c6c8d48 (patch) | |
tree | cb5213c2fd9aea198bf8b0be8f414b54cdfc99e9 /python-ethtool/etherinfo_struct.h | |
parent | 3236cbdb03ed84271aeacc932760752a733204d4 (diff) | |
download | python-ethtool-a05f17ca5737d03b127dd599363f009d5c6c8d48.tar.gz python-ethtool-a05f17ca5737d03b127dd599363f009d5c6c8d48.tar.xz python-ethtool-a05f17ca5737d03b127dd599363f009d5c6c8d48.zip |
Make the internal MAC address a Python string object
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r-- | python-ethtool/etherinfo_struct.h | 2 |
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 */ }; |