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.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.h')
-rw-r--r-- | python-ethtool/etherinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h index 3d4eb96..2fc602e 100644 --- a/python-ethtool/etherinfo.h +++ b/python-ethtool/etherinfo.h @@ -20,7 +20,7 @@ typedef enum {NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */ int get_etherinfo_link(etherinfo_py *data); -int get_etherinfo_address(etherinfo_py *data, nlQuery query); +PyObject * get_etherinfo_address(etherinfo_py *self, nlQuery query); void free_etherinfo(struct etherinfo *ptr); int open_netlink(etherinfo_py *); |