summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-12-16 21:02:31 +0100
committerDavid Sommerseth <davids@redhat.com>2013-12-16 21:02:31 +0100
commite9784985e3f7b72cc5f3210d60a88014625b2660 (patch)
treea8a812dd0e3781709883c48d534d9c1731e3801a /python-ethtool/etherinfo.h
parent44838a858671264cfb2085a3b1dbe6e01ca48feb (diff)
downloadpython-ethtool-e9784985e3f7b72cc5f3210d60a88014625b2660.tar.gz
python-ethtool-e9784985e3f7b72cc5f3210d60a88014625b2660.tar.xz
python-ethtool-e9784985e3f7b72cc5f3210d60a88014625b2660.zip
Splitting up get_etherinfo() calls
Make the calls to retrieve IPv4 and IPv6 addresses individual. This is the the beginning of the rewrite of the whole etherinfo main class. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo.h')
-rw-r--r--python-ethtool/etherinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index 4265e10..1997807 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -17,7 +17,7 @@
#ifndef _ETHERINFO_H
#define _ETHERINFO_H
-typedef enum {NLQRY_LINK, NLQRY_ADDR} nlQuery; /**< Supported query types in the etherinfo code */
+typedef enum {NLQRY_LINK, NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */
int get_etherinfo(struct etherinfo_obj_data *data, nlQuery query);
void free_etherinfo(struct etherinfo *ptr);