summaryrefslogtreecommitdiffstats
path: root/avahi-core/iface-linux.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-linux.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-linux.c')
-rw-r--r--avahi-core/iface-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/iface-linux.c b/avahi-core/iface-linux.c
index 985fe3f..910000d 100644
--- a/avahi-core/iface-linux.c
+++ b/avahi-core/iface-linux.c
@@ -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));