ferdnyc / rpms / chmlib

Forked from rpms/chmlib 4 years ago
Clone
a5b9e75
From ad27f1981415f9b9df179099e36d793327ce6d8c Mon Sep 17 00:00:00 2001
a5b9e75
From: "FeRD (Frank Dana)" <ferdnyc@gmail.com>
a5b9e75
Date: Thu, 11 Jul 2019 20:57:19 -0400
a5b9e75
Subject: [PATCH] Change the default binding to 127.0.0.1
a5b9e75
a5b9e75
---
a5b9e75
 src/chm_http.c | 2 +-
a5b9e75
 1 file changed, 1 insertion(+), 1 deletion(-)
a5b9e75
a5b9e75
diff --git a/src/chm_http.c b/src/chm_http.c
a5b9e75
index 237e85a..ddffe55 100644
a5b9e75
--- a/src/chm_http.c
a5b9e75
+++ b/src/chm_http.c
a5b9e75
@@ -50,7 +50,7 @@
a5b9e75
 #include <getopt.h>
a5b9e75
 
a5b9e75
 int config_port = 8080;
a5b9e75
-char config_bind[65536] = "0.0.0.0";
a5b9e75
+char config_bind[65536] = "127.0.0.1";
a5b9e75
 
a5b9e75
 static void usage(const char *argv0)
a5b9e75
 {
a5b9e75
-- 
a5b9e75
2.21.0
a5b9e75