[sheepdog] [PATCH] sheepfs: fix sdhost

Liu Yuan namei.unix at gmail.com
Tue Aug 13 11:51:19 CEST 2013


"localshot" isn't recognized anymore by dog. We have to specify numeric letters.

Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 sheepfs/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheepfs/core.c b/sheepfs/core.c
index 97eff32..02d5830 100644
--- a/sheepfs/core.c
+++ b/sheepfs/core.c
@@ -36,7 +36,7 @@ static int sheepfs_debug;
 static int sheepfs_fg;
 int sheepfs_page_cache;
 int sheepfs_object_cache = true;
-char sdhost[32] = "localhost";
+char sdhost[32] = "127.0.0.1";
 int sdport = SD_LISTEN_PORT;
 
 static struct option const long_options[] = {
-- 
1.7.9.5




More information about the sheepdog mailing list