projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
interface: let interface_set_down() return void
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index 6fa51fa92f282980ac18cf70729ceb11d5a4b382..b508b10457551dc78b7bcc11bd54e0d5a35f84b4 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-1078,7
+1078,7
@@
interface_set_up(struct interface *iface)
interface_add_error(iface, "interface", error, NULL, 0);
}
-int
+void
interface_set_down(struct interface *iface)
{
if (!iface) {
@@
-1088,8
+1088,6
@@
interface_set_down(struct interface *iface)
iface->autostart = false;
__interface_set_down(iface, false);
}
-
- return 0;
}
int