0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Fixes another minor bug in iface scan.

Iface flags are not updated in some cases.
This commit is contained in:
Ondrej Zajicek 2012-01-21 22:56:16 +01:00
parent b573755df4
commit bc09257117

View File

@ -290,11 +290,11 @@ if_update(struct iface *new)
memcpy(i, new, sizeof(*i)); memcpy(i, new, sizeof(*i));
goto newif; goto newif;
} }
else if (c)
{ if_copy(i, new);
if_copy(i, new); if (c)
if_notify_change(c, i); if_notify_change(c, i);
}
i->flags |= IF_UPDATED; i->flags |= IF_UPDATED;
return i; return i;
} }