the spoolss notify test depends on the interfaces order
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun May 8 13:57:58 CEST 2011 on sn-devel-104
DEBUG(2,("netmask=%s\n", addr));
iface->nmask_s = talloc_strdup(iface, addr);
- DLIST_ADD(*interfaces, iface);
+ /*
+ this needs to be a ADD_END, as some tests (such as the
+ spoolss notify test) depend on the interfaces ordering
+ */
+ DLIST_ADD_END(*interfaces, iface, NULL);
}
/**