summaryrefslogtreecommitdiffstats
path: root/Assemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Assemble.c b/Assemble.c
index 4cf5405..47b8839 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -478,7 +478,8 @@ int Assemble(struct supertype *st, char *mddev,
st->ss->getinfo_super(st, content);
trustworthy = FOREIGN;
- switch (st->ss->match_home(st, homehost)) {
+ switch (st->ss->match_home(st, homehost)
+ ?: st->ss->match_home(st, "any")) {
case 0:
trustworthy = FOREIGN;
name = content->name;