change lif_interface.is_up to lif_interface.refcount

This commit is contained in:
Ariadne Conill 2020-09-08 14:41:25 -06:00
parent 30fa4c4a2e
commit 3b10494b40
4 changed files with 7 additions and 7 deletions

View file

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