summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'python-ethtool/etherinfo.h')
-rw-r--r--python-ethtool/etherinfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index 996bd45..bda5185 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -18,8 +18,7 @@
#define _ETHERINFO_H
struct etherinfo {
- int index;
- int type;
+ int index;
char *device;
char *hwaddress;
char *ipv4_address;
@@ -27,7 +26,6 @@ struct etherinfo {
char *ipv4_broadcast;
char *ipv6_address;
int ipv6_netmask;
- struct etherinfo *next;
};
struct etherinfo *get_etherinfo();