[Olsr-dev] [PATCH v1 7/8] jsoninfo: send http headers by default

Ferry Huberts (spam-protected)
Fri Nov 27 17:26:16 CET 2015


From: Ferry Huberts <(spam-protected)>

Make it spec compliant

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/jsoninfo/src/olsrd_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/jsoninfo/src/olsrd_plugin.c b/lib/jsoninfo/src/olsrd_plugin.c
index 5ec21cb..d746b68 100644
--- a/lib/jsoninfo/src/olsrd_plugin.c
+++ b/lib/jsoninfo/src/olsrd_plugin.c
@@ -79,7 +79,7 @@ static void my_init(void) {
 
   /* defaults for parameters */
   ipc_port = 9090;
-  http_headers = false;
+  http_headers = true;
   jsoninfo_ipv6_only = false;
 
   if (olsr_cnf->ip_version == AF_INET) {
-- 
2.5.0




More information about the Olsr-dev mailing list