Commit bc092571 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes another minor bug in iface scan.

Iface flags are not updated in some cases.
parent b573755d
......@@ -290,11 +290,11 @@ if_update(struct iface *new)
memcpy(i, new, sizeof(*i));
goto newif;
}
else if (c)
{
if_copy(i, new);
if_notify_change(c, i);
}
if_copy(i, new);
if (c)
if_notify_change(c, i);
i->flags |= IF_UPDATED;
return i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment