Commit b573755d authored by Ondrej Zajicek's avatar Ondrej Zajicek
Browse files

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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