info: fix send_what for empty requests
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 12 Apr 2016 19:00:22 +0000 (21:00 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 13 Apr 2016 10:57:32 +0000 (12:57 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c

index 72ff570..1a6b636 100644 (file)
@@ -671,7 +671,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int
       req = skipMultipleSlashes(req);
       if ((req[0] == '\0') || ((req[0] == '/') && (req[1] == '\0'))) {
         /* empty or '/' */
-        send_what = SIW_ALL;
+        send_what = SIW_EVERYTHING;
       } else {
         send_what = determine_action(req);
       }