0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-19 11:55:21 +00:00

Fixes a bug in BSD iface scan.

if_update() should be called always, because periodic iface scan code
removes all not-updated ifaces.
This commit is contained in:
Ondrej Zajicek 2012-01-21 22:41:31 +01:00
parent 544f2e1b36
commit b573755df4

View File

@ -471,8 +471,7 @@ krt_read_ifinfo(struct ks_msg *msg)
else
f.flags |= IF_MULTIACCESS; /* NBMA */
if((!iface) || memcmp(&f, iface, sizeof(struct iface)))
if_update(&f); /* Just if something happens */
if_update(&f);
}
static void