Skip to content

Commit e14457f

Browse files
committed
Redis can listen IPv6 address.
1 parent a47b734 commit e14457f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ for more details, see [nginx guide](https://github.com/F-Stack/f-stack/blob/mast
135135

136136
cd app/redis-6.2.6/deps/jemalloc
137137
./autogen.sh
138-
cd app/redis-6.2.6/
138+
cd ../..
139139
make
140140
make install
141141

app/redis-6.2.6/src/anet_ff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ socket(int domain, int type, int protocol)
160160
return real_socket(domain, type, protocol);
161161
}
162162

163-
if ((AF_INET != domain) || (SOCK_STREAM != type && SOCK_DGRAM != type)) {
163+
if ((AF_INET != domain && AF_INET6 != domain) || (SOCK_STREAM != type && SOCK_DGRAM != type)) {
164164
rc = real_socket(domain, type, protocol);
165165
return rc;
166166
}

doc/F-Stack_Quick_Start_Guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The mount point can be made permanent across reboots, by adding the following li
8888

8989
cd app/redis-6.2.6/deps/jemalloc
9090
./autogen.sh
91-
cd app/redis-6.2.6/
91+
cd ../..
9292
make
9393
# run with start.sh
9494
./start.sh -b ./redis-server -o /path/to/redis.conf

0 commit comments

Comments
 (0)