[Olsr-dev] [PATCH v1 03/18] info: send everything on empty requests

Ferry Huberts (spam-protected)
Sat Dec 10 18:25:13 CET 2016


From: Ferry Huberts <(spam-protected)>

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

diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c
index ad0970a..6f0affc 100644
--- a/lib/info/olsrd_info.c
+++ b/lib/info/olsrd_info.c
@@ -776,7 +776,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int
 #endif /* NODEBUG */
     *req = '\0';
     drain_request(ipc_connection);
-    send_info(req, send_what, ipc_connection, INFO_HTTP_NOCONTENT);
+    send_info(req, SIW_EVERYTHING, ipc_connection, INFO_HTTP_OK);
     return;
   }
 
-- 
2.9.3




More information about the Olsr-dev mailing list