From d4bc3a50bb6124a0000879f27d43e9685934d682 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 20 Dec 2013 01:46:01 +0100 Subject: Make the device string a python object as well This will simplify to "pythonize" struct etherinfo further. 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 ffa6254..83d06fe 100644 --- a/python-ethtool/etherinfo_struct.h +++ b/python-ethtool/etherinfo_struct.h @@ -33,7 +33,7 @@ * */ struct etherinfo { - char *device; /**< Device name */ + PyObject *device; /**< Device name */ int index; /**< NETLINK index reference */ PyObject *hwaddress; /**< string: HW address / MAC address of device */ }; -- cgit