info: send everything on empty requests
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 8 Dec 2016 10:46:00 +0000 (11:46 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 08:47:10 +0000 (09:47 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c

index ad0970a..6f0affc 100644 (file)
@@ -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;
   }