]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface-pfroute.c
* add an option to make avahi-daemon using POINTOPOINT interfaces (disable by default)
[catta] / avahi-core / iface-pfroute.c
index cb47a0dba45f9f7351b05d867a82e28aac54839a..6fb6cfc6cd7af4b92d1a9df4301c184b4eda8367 100644 (file)
@@ -80,7 +80,7 @@ static void rtm_info(struct rt_msghdr *rtm, AvahiInterfaceMonitor *m)
     (!m->server->config.use_iff_running || (ifm->ifm_flags & IFF_RUNNING)) &&
     !(ifm->ifm_flags & IFF_LOOPBACK) &&
     (ifm->ifm_flags & IFF_MULTICAST) &&
-    !(ifm->ifm_flags & IFF_POINTOPOINT);
+    (m->server->config.allow_point_to_point || !(ifinfomsg->ifi_flags & IFF_POINTOPOINT));
   
   avahi_free(hw->name);
   hw->name = avahi_strndup(sdl->sdl_data, sdl->sdl_nlen);