summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/interface.c b/interface.c
index 6fa51fa..b508b10 100644
--- 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