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

are OS-dependent).
This commit is contained in:
Martin Mares 1998-05-24 14:48:09 +00:00
parent d4bc8dc000
commit b53499cdaa

View file

@ -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