Commit b53499cd authored by Martin Mareš's avatar Martin Mareš

Added interface index (used only by OS-dependent code since ifindexes itself

are OS-dependent).
parent d4bc8dc0
......@@ -17,6 +17,7 @@ struct iface {
unsigned flags;
unsigned mtu;
struct ifa *ifa; /* First address is primary */
unsigned index; /* OS-dependent interface index */
};
#define IF_UP 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment