Help!

Bug#436988: IPv6 broken in pdnsd


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist RSS
Next:  Bug#436989: autom4te.cache included in Debian's p..  
Author Message
Juliusz Chroboczek
External


Since: Apr 18, 2005
Posts: 34



PostPosted: Fri Aug 10, 2007 1:20 am    Post subject: Bug#436988: IPv6 broken in pdnsd
Archived from groups: linux>debian>bugs>dist (more info?)

Package: pdnsd
Version: 1.2.6-par~pre2-6
Severity: important
Tags: patch

Hi,

IPv6 support has been broken in recent releases. The attached fixes
the problem.

Juliusz

--- pdnsd-1.2.6-par~pre2/src/dns_answer.c 2007-07-13 21:44:22.000000000 +0200
+++ pdnsd-1.2.6-par~pre2-jch/src/dns_answer.c 2007-08-10 01:01:30.000000000 +0200
@@ -1324,7 +1324,7 @@

# ifdef ENABLE_IPV6
if (!run_ipv4) {
- if (setsockopt(sock,SOL_IPV6,IPV6_PKTINFO,&so,sizeof(so))!=0) {
+ if (setsockopt(sock,SOL_IPV6,IPV6_RECVPKTINFO,&so,sizeof(so))!=0) {
log_error("Could not set options on udp socket: %s",strerror(errno));
close(sock);
return -1;


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum