diff options
author | David Sommerseth <davids@redhat.com> | 2013-12-20 01:08:46 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-12-20 01:11:28 +0100 |
commit | d10055619793bf8ff74814f4126ddb8ba5ee913f (patch) | |
tree | b36082d75bc761782747af536f7c7d998d690832 /python-ethtool/etherinfo_struct.h | |
parent | 52b17fc36d39c32d6e766c18ee8fd4f472f62d39 (diff) | |
download | python-ethtool-d10055619793bf8ff74814f4126ddb8ba5ee913f.tar.gz python-ethtool-d10055619793bf8ff74814f4126ddb8ba5ee913f.tar.xz python-ethtool-d10055619793bf8ff74814f4126ddb8ba5ee913f.zip |
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 <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r-- | python-ethtool/etherinfo_struct.h | 2 |
1 files changed, 0 insertions, 2 deletions
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) */ |