summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-05 19:01:03 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-05 19:01:03 +0200
commit7cba7704a46a830264fd6f7234d8927ea01feaf2 (patch)
tree97d2488e41c2482a195f239cc4cf4690e97f8596 /interface.c
parentacba9316063c79b539ef330579e2ea420a93b5a9 (diff)
s/clear_interface_errors/interface_clear_errors/
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index 506a478..7bf8f25 100644
--- a/interface.c
+++ b/interface.c
@@ -31,7 +31,7 @@ const struct config_param_list interface_attr_list = {
};
static void
-clear_interface_errors(struct interface *iface)
+interface_clear_errors(struct interface *iface)
{
struct interface_error *error, *tmp;
@@ -119,7 +119,7 @@ __interface_set_up(struct interface *iface)
static void
__interface_set_down(struct interface *iface, bool force)
{
- clear_interface_errors(iface);
+ interface_clear_errors(iface);
if (iface->state == IFS_DOWN ||
iface->state == IFS_TEARDOWN)