interface: extend interface error messages in interface_set_up()
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Aug 2018 11:53:17 +0000 (13:53 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Aug 2018 12:12:27 +0000 (14:12 +0200)
commitb9d5a8c37da02ccac5821b7599f4c9cd4461a662
tree86ea64f7db456131aebdfe3cd7f2f9ee4ff84593
parentde394b30b895acc7b4cd4d5ddc78e4710747e613
interface: extend interface error messages in interface_set_up()

Don't return an error code in interface_set_up as it's ignored anyway by the
calling functions; but rather add more interface error messages so the actual
problem is visible for the user by doing ifstatus <interface>

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