change lif_interface.is_up to lif_interface.refcount
This commit is contained in:
parent
30fa4c4a2e
commit
3b10494b40
4 changed files with 7 additions and 7 deletions
|
|
@ -53,7 +53,7 @@ struct lif_interface {
|
|||
|
||||
struct lif_dict vars;
|
||||
|
||||
bool is_up;
|
||||
size_t refcount; /* >= 0 if up, else 0 */
|
||||
};
|
||||
|
||||
#define LIF_INTERFACE_COLLECTION_FOREACH(iter, collection) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue