diff --git a/conf/storage.conf b/conf/storage.conf index c90322a..5a7be7a 100644 --- a/conf/storage.conf +++ b/conf/storage.conf @@ -19,6 +19,8 @@ group_name = group1 # # bind IPv4 and IPv6 example: 192.168.2.100,2409:8a20:42d:2f40:587a:4c47:72c0:ad8e # +# as any/all addresses, IPv4 is 0.0.0.0, IPv6 is :: +# bind_addr = # if bind an address of this host when connect to other servers diff --git a/conf/storage_ids.conf b/conf/storage_ids.conf index 878e313..36a0599 100644 --- a/conf/storage_ids.conf +++ b/conf/storage_ids.conf @@ -19,4 +19,4 @@ 100001 group1 192.168.0.196 100002 group1 192.168.0.197 -100003 group1 [2409:8a20:42d:2f40:587a:4c47:72c0:ad8e]:100002 \ No newline at end of file +100003 group1 [2409:8a20:42d:2f40:587a:4c47:72c0:ad8e]:100002 diff --git a/conf/tracker.conf b/conf/tracker.conf index 1c207db..f96000e 100644 --- a/conf/tracker.conf +++ b/conf/tracker.conf @@ -12,6 +12,8 @@ disabled = false # # bind IPv4 and IPv6 example: 192.168.2.100,2409:8a20:42d:2f40:587a:4c47:72c0:ad8e # +# as any/all addresses, IPv4 is 0.0.0.0, IPv6 is :: +# bind_addr = # the tracker server port diff --git a/tracker/tracker_proto.h b/tracker/tracker_proto.h index 19c8674..c5e54a9 100644 --- a/tracker/tracker_proto.h +++ b/tracker/tracker_proto.h @@ -149,7 +149,7 @@ typedef struct typedef struct { unsigned char my_status; //storage server status - char src_id[FDFS_STORAGE_ID_MAX_SIZE]; //src storage id + char src_id[FDFS_STORAGE_ID_MAX_SIZE]; //src storage id } TrackerStorageJoinBodyResp; typedef struct