diff options
-rw-r--r-- | interface.c | 2 | ||||
-rw-r--r-- | interface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c index a2527ca..c4ce9e9 100644 --- a/interface.c +++ b/interface.c @@ -245,7 +245,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr) } void -free_interface(struct interface *iface) +interface_free(struct interface *iface) { netifd_ubus_remove_interface(iface); list_del(&iface->list); diff --git a/interface.h b/interface.h index 1a854cb..f793459 100644 --- a/interface.h +++ b/interface.h @@ -61,7 +61,7 @@ extern const struct config_param_list interface_attr_list; struct interface *interface_get(const char *name); struct interface *alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr); -void free_interface(struct interface *iface); +void interface_free(struct interface *iface); void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state); |