[asterisk-dev] [Code Review] 4598: Refactor duplicated DNS routines into common sections

Mark Michelson reviewboard at asterisk.org
Tue Apr 7 12:49:03 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4598/
-----------------------------------------------------------

(Updated April 7, 2015, 5:49 p.m.)


Review request for Asterisk Developers.


Changes
-------

Addressed Kevin's comments.


Repository: Asterisk


Description
-------

Josh worked on SRV in one branch, and I worked on NAPTR in a separate branch. Independently we kept coming to realizations that something that one of us had developed independently would be needed by the other person. We decided to simply have copies of common functionality in our branches. After merging, we would perform a refactor to remove duplication.

This changeset introduces no new DNS functionality. Instead, it takes some duplicated code and places them into common areas of the DNS core.


Diffs (updated)
-----

  /trunk/tests/test_dns_srv.c 434218 
  /trunk/tests/test_dns_naptr.c 434218 
  /trunk/main/dns_test.c PRE-CREATION 
  /trunk/main/dns_srv.c 434218 
  /trunk/main/dns_naptr.c 434218 
  /trunk/main/dns_core.c 434218 
  /trunk/include/asterisk/dns_test.h PRE-CREATION 
  /trunk/include/asterisk/dns_internal.h 434218 

Diff: https://reviewboard.asterisk.org/r/4598/diff/


Testing
-------

All DNS unit tests continue to pass.


Thanks,

Mark Michelson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150407/c31792f1/attachment.html>


More information about the asterisk-dev mailing list