mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Added interface index (used only by OS-dependent code since ifindexes itself
are OS-dependent).
This commit is contained in:
parent
d4bc8dc000
commit
b53499cdaa
@ -17,6 +17,7 @@ struct iface {
|
|||||||
unsigned flags;
|
unsigned flags;
|
||||||
unsigned mtu;
|
unsigned mtu;
|
||||||
struct ifa *ifa; /* First address is primary */
|
struct ifa *ifa; /* First address is primary */
|
||||||
|
unsigned index; /* OS-dependent interface index */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IF_UP 1
|
#define IF_UP 1
|
||||||
|
Loading…
Reference in New Issue
Block a user