Re-write the name of the service for correct lookups

This commit is contained in:
Armon Dadgar 2014-05-22 10:51:59 -07:00
parent 4cb233f48b
commit 847afc6720

View File

@ -195,6 +195,7 @@ func (c *client) query(params *QueryParam) error {
// Get the port // Get the port
inp = ensureName(inprogress, rr.Hdr.Name) inp = ensureName(inprogress, rr.Hdr.Name)
inp.Name = rr.Target
inp.Port = int(rr.Port) inp.Port = int(rr.Port)
case *dns.TXT: case *dns.TXT: