aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-21 14:21:06 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-21 14:21:06 -0700
commitcf54d703114256f439edf3b16a69d9ff8bd85aec (patch)
tree5e468e65ba80a675b52cdb50c761e5266e178e1f /weed/command/server.go
parent5c348087dc0dd9a67250f80839908b22000a5591 (diff)
downloadseaweedfs-cf54d703114256f439edf3b16a69d9ff8bd85aec.tar.xz
seaweedfs-cf54d703114256f439edf3b16a69d9ff8bd85aec.zip
filer: add -ip.bind option
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 2f3bbe94d..0d54004f8 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -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