mon: fix setting of mon addr when joining a cluster

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2011-12-19 07:57:45 -08:00
parent e5f49104ab
commit d959334208

View File

@ -336,6 +336,7 @@ int main(int argc, const char **argv)
<< " not present in monmap" << dendl;
exit(1);
}
ipaddr = g_conf->public_addr;
}
// bind