From 52b17fc36d39c32d6e766c18ee8fd4f472f62d39 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 20 Dec 2013 00:18:56 +0100 Subject: Clean-up get_etherinfo() and move it to get_etherinfo_address() This follows the previous commit. Just cleaning up and making things a bit more clearer. Signed-off-by: David Sommerseth --- python-ethtool/etherinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python-ethtool/etherinfo.h') diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h index f817602..3d4eb96 100644 --- a/python-ethtool/etherinfo.h +++ b/python-ethtool/etherinfo.h @@ -17,10 +17,10 @@ #ifndef _ETHERINFO_H #define _ETHERINFO_H -typedef enum {NLQRY_LINK, NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */ +typedef enum {NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */ int get_etherinfo_link(etherinfo_py *data); -int get_etherinfo(etherinfo_py *data, nlQuery query); +int get_etherinfo_address(etherinfo_py *data, nlQuery query); void free_etherinfo(struct etherinfo *ptr); int open_netlink(etherinfo_py *); -- cgit