Fixes another minor bug in iface scan.
Iface flags are not updated in some cases.
This commit is contained in:
parent
b573755df4
commit
bc09257117
1 changed files with 5 additions and 5 deletions
|
@ -290,11 +290,11 @@ if_update(struct iface *new)
|
|||
memcpy(i, new, sizeof(*i));
|
||||
goto newif;
|
||||
}
|
||||
else if (c)
|
||||
{
|
||||
|
||||
if_copy(i, new);
|
||||
if (c)
|
||||
if_notify_change(c, i);
|
||||
}
|
||||
|
||||
i->flags |= IF_UPDATED;
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue