Commit b573755d authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes a bug in BSD iface scan.

if_update() should be called always, because periodic iface scan code
removes all not-updated ifaces.
parent 544f2e1b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment