diff options
| author | David Sommerseth <davids@redhat.com> | 2013-12-16 21:02:31 +0100 |
|---|---|---|
| committer | David Sommerseth <davids@redhat.com> | 2013-12-16 21:02:31 +0100 |
| commit | e9784985e3f7b72cc5f3210d60a88014625b2660 (patch) | |
| tree | a8a812dd0e3781709883c48d534d9c1731e3801a /python-ethtool/etherinfo.h | |
| parent | 44838a858671264cfb2085a3b1dbe6e01ca48feb (diff) | |
| download | python-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.h | 2 |
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); |
