From d10055619793bf8ff74814f4126ddb8ba5ee913f Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 20 Dec 2013 01:08:46 +0100 Subject: Get rid of the internal IP address lists With the new structure, these pointers are of no use. Kick them out. The result of this is that get_etherinfo_address() now returns a Python object which contains a list of IP address objects. Signed-off-by: David Sommerseth --- python-ethtool/etherinfo_struct.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'python-ethtool/etherinfo_struct.h') diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h index cc7b32f..bc681bc 100644 --- a/python-ethtool/etherinfo_struct.h +++ b/python-ethtool/etherinfo_struct.h @@ -34,8 +34,6 @@ struct etherinfo { char *device; /**< Device name */ int index; /**< NETLINK index reference */ PyObject *hwaddress; /**< string: HW address / MAC address of device */ - PyObject *ipv4_addresses; /**< list of PyNetlinkIPv4Address instances */ - PyObject *ipv6_addresses; /**< list of PyNetlinkIPv6Addresses instances */ }; /* Python object containing data baked from a (struct rtnl_addr) */ -- cgit