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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue