Re: [LEDE-DEV] [PATCH netifd] interface: fix "ifup-failed" hotplug event handling

2018-04-10 Thread Hans Dedecker
On Tue, Apr 10, 2018 at 6:21 AM, Martin Schiller wrote: > The ifup-failed event should only be triggered when the former > interface state is IFS_SETUP. > > Otherwise, there will also be an ifup-failed event in the > IFS_TEARDOWN stateif you do an manual ifdown . Patch applied thanks Hans > > Sig

[LEDE-DEV] [PATCH netifd] interface: fix "ifup-failed" hotplug event handling

2018-04-09 Thread Martin Schiller
The ifup-failed event should only be triggered when the former interface state is IFS_SETUP. Otherwise, there will also be an ifup-failed event in the IFS_TEARDOWN stateif you do an manual ifdown . Signed-off-by: Martin Schiller --- interface.c | 10 -- 1 file changed, 8 insertions(+),