Bug 160344

Summary: [patch] dns/mydns: fix IPv6 support
Product: Ports & Packages Reporter: wiking
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description wiking 2011-08-31 21:50:05 UTC
If one tries to set up mydns (dns/mydns) port to bind on any IPv6 address
it will fail.

Fix: only two lines has to be patched in the ./src/mydns/listen.c file in
order to fix this problem, see the attached patch file. running mydns
with this patch it smoothly binds and replies to DNS queries via IPv6.

Patch attached with submission follows:
How-To-Repeat: add a 'listen' line where you specify an IPv6 address to your mydns config
file and try to run mydns. it will fail to bind on the given address and
port as there's a bug in the original code.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-09-01 05:56:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-09-05 13:14:27 UTC
ale         2011-09-05 12:14:19 UTC

  FreeBSD ports repository

  Modified files:
    dns/mydns            Makefile 
  Added files:
    dns/mydns/files      patch-src_mydns_listen.c 
  Log:
  Fix IPv6 support.
  
  PR:             ports/160344
  Submitted by:   Viktor Gal <wiking@maeth.com>
  
  Revision  Changes    Path
  1.47      +1 -1      ports/dns/mydns/Makefile
  1.1       +20 -0     ports/dns/mydns/files/patch-src_mydns_listen.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2011-09-05 13:14:31 UTC
State Changed
From-To: open->closed

Committed, thanks!