Commit 23e7fff7 authored by Jonathon Duerig's avatar Jonathon Duerig

Use remote interface, not local interface for stitching lookups.

parent 6e5852e5
...@@ -1670,7 +1670,6 @@ sub GetTicketAuxAux($$$$$$$$$) ...@@ -1670,7 +1670,6 @@ sub GetTicketAuxAux($$$$$$$$$)
# be the first hop that is in a different domain. # be the first hop that is in a different domain.
# #
my $edgehop; my $edgehop;
my $lasthop;
foreach my $hop (@hoplist) { foreach my $hop (@hoplist) {
my $hopurn = GetHopLinkID($hop); my $hopurn = GetHopLinkID($hop);
next next
...@@ -1681,10 +1680,9 @@ sub GetTicketAuxAux($$$$$$$$$) ...@@ -1681,10 +1680,9 @@ sub GetTicketAuxAux($$$$$$$$$)
if (!defined($auth)); if (!defined($auth));
if ($auth ne $OURDOMAIN) { if ($auth ne $OURDOMAIN) {
$edgehop = $lasthop; $edgehop = $hop;
last; last;
} }
$lasthop = $hop;
} }
if (!defined($edgehop)) { if (!defined($edgehop)) {
$response = $response =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment