SmartAudio/package/utils/collectd/patches/400-fix-olsrd-get-all.patch

12 lines
258 B
Diff

--- a/src/olsrd.c
+++ b/src/olsrd.c
@@ -658,7 +658,7 @@ static int olsrd_read (void) /* {{{ */
if (fh == NULL)
return (-1);
- fputs ("\r\n", fh);
+ fputs ("/all \r\n", fh);
fflush (fh);
while (fgets (buffer, sizeof (buffer), fh) != NULL)