summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-03-31 08:31:39 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-09 12:53:50 +0200
commit08d8f476b6aa0d701b20cda5f706db853ade1911 (patch)
tree3e81cdc058403b81ca43edec2593f2163928e86a /interface.h
parent20a1bac4810e98a463380e5d0f1f77c72ac31941 (diff)
downloadnetifd-08d8f476b6aa0d701b20cda5f706db853ade1911.tar.gz
interface: add new "ifup-failed" hotplug event
This hook makes it possible to do some helper work in hotplug scripts when a connection is not established successfully. example: try several username/passwords from a pool to establish a pppoe or wwan connection by replacing the configured values of the connection in a hotplug script. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index d35fd98..0e58f69 100644
--- a/interface.h
+++ b/interface.h
@@ -23,6 +23,7 @@ struct interface_proto_state;
enum interface_event {
IFEV_DOWN,
IFEV_UP,
+ IFEV_UP_FAILED,
IFEV_UPDATE,
IFEV_FREE,
IFEV_RELOAD,