interface: ensure NO_DEVICE error is always reported
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 17 Aug 2018 13:55:00 +0000 (15:55 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 17 Aug 2018 14:10:10 +0000 (16:10 +0200)
commitde394b30b895acc7b4cd4d5ddc78e4710747e613
treead1694f07c308d13c63d83f80a48b3da2617be0e
parent522456b9f3ab07a78de17bf693abead4a296b028
interface: ensure NO_DEVICE error is always reported

Remove interface available checks in the functions interface_start_pending
and interface_handle_config_change so the NO_DEVICE error is reported in
ifstatus <interface> making it clear to the user the configured device in
ifname is not found

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface.c