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

Fixes another minor bug in iface scan.

Iface flags are not updated in some cases.
parent b573755d
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -290,11 +290,11 @@ if_update(struct iface *new)
	    memcpy(i, new, sizeof(*i));
	    goto newif;
	  }
	else if (c)
	  {

	if_copy(i, new);
	if (c)
	  if_notify_change(c, i);
	  }

	i->flags |= IF_UPDATED;
	return i;
      }