]> git.meshlink.io Git - catta/blobdiff - avahi-autoipd/iface-linux.c
netlink: fix wrong use of netlink flags for dump operations
[catta] / avahi-autoipd / iface-linux.c
index b4abd6fe2a3f9eac517d8b849ce8ccf8bfb9918c..83e9e416bb38c6b4ce6f0f10bde9d89fe862118a 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /***
   This file is part of avahi.
 
@@ -264,7 +262,7 @@ int iface_get_initial_state(State *state) {
     n->nlmsg_len = NLMSG_LENGTH(sizeof(*ifi));
     n->nlmsg_type = RTM_GETLINK;
     n->nlmsg_seq = seq;
-    n->nlmsg_flags = NLM_F_MATCH|NLM_F_REQUEST|NLM_F_ACK;
+    n->nlmsg_flags = NLM_F_REQUEST|NLM_F_DUMP;
     n->nlmsg_pid = 0;
 
     ifi = NLMSG_DATA(n);