Bug 160344 - [patch] dns/mydns: fix IPv6 support
Summary: [patch] dns/mydns: fix IPv6 support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 21:50 UTC by wiking
Modified: 2011-09-05 13:20 UTC (History)
0 users

See Also:


Attachments
file.diff (667 bytes, patch)
2011-08-31 21:50 UTC, wiking
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!