summaryrefslogtreecommitdiffstats
path: root/ipapython/ssh.py
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-06-06 18:56:03 +0200
committerPetr Vobornik <pvoborni@redhat.com>2016-06-09 14:04:33 +0200
commit740099cf0bc2762b6ea329385f6abd542d863c98 (patch)
tree26662263fc42051ec8a54d0a174a4ec6662ec30b /ipapython/ssh.py
parentda5885b72a284811bda7ddd36b8716d71ac66bd9 (diff)
downloadfreeipa-740099cf0bc2762b6ea329385f6abd542d863c98.tar.gz
freeipa-740099cf0bc2762b6ea329385f6abd542d863c98.tar.xz
freeipa-740099cf0bc2762b6ea329385f6abd542d863c98.zip
Fix bad searching of reverse DNS zone
There was a problem with finding correct DNS zone. It found a first substring match. Therefore when there was location 0.10.10.in-addr.arpa. and 110.10.10.in-addr.arpa the location for IP address 10.10.110.1 was the first one, which is incorrect. Now it finds the second one, because it finds the longest match. https://fedorahosted.org/freeipa/ticket/5796 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipapython/ssh.py')
0 files changed, 0 insertions, 0 deletions