From e9784985e3f7b72cc5f3210d60a88014625b2660 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 16 Dec 2013 21:02:31 +0100 Subject: 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 --- python-ethtool/etherinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python-ethtool/etherinfo.h') 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); -- cgit