From: Felix Fietkau Date: Fri, 21 Oct 2011 00:43:28 +0000 (+0200) Subject: fix device claim on interface reload X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efa325e9079b11421a77ee77956339f481254d1f;p=oweals%2Fnetifd.git fix device claim on interface reload --- diff --git a/interface.c b/interface.c index 04834ec..d0eec4a 100644 --- a/interface.c +++ b/interface.c @@ -218,9 +218,8 @@ static void interface_do_reload(struct interface *iface) { interface_cleanup(iface); - - interface_claim_device(iface); proto_init_interface(iface, iface->config); + interface_claim_device(iface); } static void