treewide: Use AF_UNSPEC consistently
[collectd.git] / src / olsrd.c
index ac47811..7838eba 100644 (file)
@@ -155,7 +155,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