]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface-linux.c
* add an option to make avahi-daemon using POINTOPOINT interfaces (disable by default)
[catta] / avahi-core / iface-linux.c
index 985fe3f9ef1413f37e451ab69f6a4bd234eaf018..910000da214be039871a9b85416d5f626da18ae7 100644 (file)
@@ -98,7 +98,7 @@ static void netlink_callback(AvahiNetlink *nl, struct nlmsghdr *n, void* userdat
             (!m->server->config.use_iff_running || (ifinfomsg->ifi_flags & IFF_RUNNING)) &&
             !(ifinfomsg->ifi_flags & IFF_LOOPBACK) &&
             (ifinfomsg->ifi_flags & IFF_MULTICAST) &&
-            !(ifinfomsg->ifi_flags & IFF_POINTOPOINT);
+            (m->server->config.allow_point_to_point || !(ifinfomsg->ifi_flags & IFF_POINTOPOINT));
 
         /* Handle interface attributes */
         l = NLMSG_PAYLOAD(n, sizeof(struct ifinfomsg));