mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user