diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/socket/interface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c index 4eb4f3a517..b762f5573a 100644 --- a/source4/lib/socket/interface.c +++ b/source4/lib/socket/interface.c @@ -129,7 +129,11 @@ static void add_interface(TALLOC_CTX *mem_ctx, const struct iface_struct *ifs, s 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); } /** |