filer: add -ip.bind option

This commit is contained in:
Chris Lu
2020-04-21 14:21:06 -07:00
parent 5c348087dc
commit cf54d70311
2 changed files with 6 additions and 3 deletions

View File

@@ -125,7 +125,8 @@ func runServer(cmd *Command, args []string) bool {
masterOptions.ip = serverIp
masterOptions.ipBind = serverBindIp
filerOptions.masters = &peers
filerOptions.ip = serverBindIp
filerOptions.ip = serverIp
filerOptions.bindIp = serverBindIp
serverOptions.v.ip = serverIp
serverOptions.v.bindIp = serverBindIp
serverOptions.v.masters = &peers