Skip to content

Commit

Permalink
Fix EUCA-6542 when looking up DNS zone, start search at label 1 (not 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris grzegorczyk committed Jun 15, 2013
1 parent 8ea3582 commit 57e22e5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ else if (queryOPT != null)
public Zone
findBestZone(Name name) {
Zone foundzone = null;
foundzone = (Zone) ZoneManager.getZone(name);
if (foundzone != null)
return foundzone;
int labels = name.labels();
for (int i = 1; i < labels; i++) {
Name tname = new Name(name, i);
Expand Down

0 comments on commit 57e22e5

Please sign in to comment.