summaryrefslogtreecommitdiffstats
path: root/avahi-core/iface-pfroute.c
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2006-02-19 23:28:57 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2006-02-19 23:28:57 +0000
commitbba061b0c38d6308a10c8ef543fa72c1e1c5fad7 (patch)
tree27995c4e67035c0e97717dffb5c9fa6eb954c983 /avahi-core/iface-pfroute.c
parent3f8227311e734f408e34d114be975f400b20c989 (diff)
* add an option to make avahi-daemon using POINTOPOINT interfaces (disable by default)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1146 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/iface-pfroute.c')
-rw-r--r--avahi-core/iface-pfroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/iface-pfroute.c b/avahi-core/iface-pfroute.c
index cb47a0d..6fb6cfc 100644
--- a/avahi-core/iface-pfroute.c
+++ b/avahi-core/iface-pfroute.c
@@ -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);