fix Host resolver. Fixes #7729, #7750

This commit is contained in:
Yann Leboulanger 2014-04-22 13:11:00 +02:00
parent 0a704d05d9
commit 7d4277dfe4
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ class HostResolver(CommonResolver):
domain = ufqdn # For nslookup 9.6
if domain:
# add 4 for ' has' after domain name
rest = line[len(domain)+4:].split('=')
rest = line[len(domain)+4:].split('record')
if len(rest) != 2:
continue
answer_type, props_str = rest