uuid plugin: look in smbios system table for uuid
[collectd.git] / src / olsrd.c
index ac47811..0af32dc 100644 (file)
@@ -25,6 +25,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "plugin.h"
 
@@ -155,7 +156,7 @@ static FILE *olsrd_connect (void) /* {{{ */
   FILE *fh;
 
   struct addrinfo ai_hints = {
-    .ai_family   = PF_UNSPEC,
+    .ai_family   = AF_UNSPEC,
     .ai_flags    = AI_ADDRCONFIG,
     .ai_protocol = IPPROTO_TCP,
     .ai_socktype = SOCK_STREAM