-/* $Id$ */
-
/***
This file is part of avahi.
memset(&addr, 0, sizeof(addr));
addr.nl_family = AF_NETLINK;
addr.nl_groups = groups;
- addr.nl_pid = getpid();
+ addr.nl_pid = 0; // use 0 instead of getpid() to allow multiple instances of avahi in one process
if (bind(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
avahi_log_error(__FILE__": bind(): %s", strerror(errno));