filer: add -ip.bind option

This commit is contained in:
Chris Lu committed 2020-04-21 14:21:06 -07:00
1 parent 5c348087dc
commit cf54d70311
2 files changed
+6 -3

No files matched your search

+2 -1
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