diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-04-12 19:53:20 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-04-22 23:37:36 +0200 |
commit | 11cb9cfbb088740ee7ee5e6c6b661958c0f962cb (patch) | |
tree | 7d6740bffa2b9a8f05983d8a5dc79bedc73e7dc6 /interface.h | |
parent | 4375d1bc56301dd977ab102db995e07aa930d4a2 (diff) |
ubus: add interface method to trigger renew event
Not all topology or connectivity changes may be detected by netifd,
depending on the underlying technology (e.g. VPN software); this adds a way
to explicitly trigger a renew.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h index 1472324..d35fd98 100644 --- a/interface.h +++ b/interface.h @@ -184,6 +184,7 @@ void interface_set_available(struct interface *iface, bool new_state); int interface_set_up(struct interface *iface); int interface_set_down(struct interface *iface); void __interface_set_down(struct interface *iface, bool force); +int interface_renew(struct interface *iface); void interface_set_main_dev(struct interface *iface, struct device *dev); void interface_set_l3_dev(struct interface *iface, struct device *dev); |