summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-29 16:12:17 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-29 16:12:45 +0200
commitc007f08413edc15805c248a8d65f075bb5fb0bdd (patch)
tree9e36aba81b0c1b1e3a7d83f04ed084dd1fdae221 /interface.h
parent5df548d8edd3f9be39d409d1eeeaef99fbb27aa0 (diff)
downloadnetifd-c007f08413edc15805c248a8d65f075bb5fb0bdd.tar.gz
interface: report link up events for force_link interfaces
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 73a3b55..5b89b17 100644
--- a/interface.h
+++ b/interface.h
@@ -26,6 +26,7 @@ enum interface_event {
IFEV_UPDATE,
IFEV_FREE,
IFEV_RELOAD,
+ IFEV_LINK_UP,
};
enum interface_state {
@@ -113,6 +114,7 @@ struct interface {
bool force_link;
bool dynamic;
bool policy_rules_set;
+ bool link_up_event;
time_t start_time;
enum interface_state state;