mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +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:
parent
544f2e1b36
commit
b573755df4
@ -471,8 +471,7 @@ krt_read_ifinfo(struct ks_msg *msg)
|
|||||||
else
|
else
|
||||||
f.flags |= IF_MULTIACCESS; /* NBMA */
|
f.flags |= IF_MULTIACCESS; /* NBMA */
|
||||||
|
|
||||||
if((!iface) || memcmp(&f, iface, sizeof(struct iface)))
|
if_update(&f);
|
||||||
if_update(&f); /* Just if something happens */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user