Revision e87a95d9 nest/iface.c

View differences:

nest/iface.c
93 93
  WALK_LIST(a, i->addrs)
94 94
    {
95 95
      ifa_dump(a);
96
      ASSERT((a != i->addr) == !(a->flags & IA_PRIMARY));
96
      ASSERT(!!(a->flags & IA_PRIMARY) ==
97
	     ((a == i->addr4) || (a == i->addr6) || (a == i->llv6)));
97 98
    }
98 99
}
99 100

  

Also available in: Unified diff