- don't force AF_INET if family is AF_UNSPEC
Should fix some discoveries / connection issues.
This commit is contained in:
parent
2daeba9a3d
commit
157ead682e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2009/06/04 21:42:40 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2009/06/06 08:02:08 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= framework for Multicast DNS Service Discovery
|
||||
COMMENT-gtk= GUI client utilities for avahi
|
||||
@ -9,7 +9,7 @@ V= 0.6.25
|
||||
DISTNAME= avahi-${V}
|
||||
CATEGORIES= net devel
|
||||
|
||||
PKGNAME-main= avahi-${V}p1
|
||||
PKGNAME-main= avahi-${V}p2
|
||||
PKGNAME-gtk= avahi-gtk-${V}p0
|
||||
PKGNAME-qt3= avahi-qt3-${V}p0
|
||||
PKGNAME-qt4= avahi-qt4-${V}p0
|
||||
|
12
net/avahi/patches/patch-avahi-core_iface-pfroute_c
Normal file
12
net/avahi/patches/patch-avahi-core_iface-pfroute_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-avahi-core_iface-pfroute_c,v 1.1 2009/06/06 08:02:08 ajacoutot Exp $
|
||||
--- avahi-core/iface-pfroute.c.orig Sat Jun 6 09:57:56 2009
|
||||
+++ avahi-core/iface-pfroute.c Sat Jun 6 09:58:05 2009
|
||||
@@ -130,7 +130,7 @@ static void rtm_addr(struct rt_msghdr *rtm, AvahiInter
|
||||
int prefixlen = 0;
|
||||
struct sockaddr *sa =NULL;
|
||||
|
||||
-#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
+#if defined(__NetBSD__)
|
||||
if(((struct sockaddr *)cp)->sa_family == AF_UNSPEC)
|
||||
((struct sockaddr *)cp)->sa_family = AF_INET;
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user