Commit 6e5852e5 authored by Jonathon Duerig's avatar Jonathon Duerig

Bugfix in error handling.

parent 788e08f0
...@@ -1699,10 +1699,11 @@ sub GetTicketAuxAux($$$$$$$$$) ...@@ -1699,10 +1699,11 @@ sub GetTicketAuxAux($$$$$$$$$)
my $edgeurn = GetHopLinkID($edgehop); my $edgeurn = GetHopLinkID($edgehop);
my $edgewire = Interface::Wire->Lookup($edgeurn); my $edgewire = Interface::Wire->Lookup($edgeurn);
if (!defined($edgewire)) { if (!defined($edgewire)) {
GeniResponse->Create(GENIRESPONSE_ERROR, undef, $response =
"$lanname: unknown ". GeniResponse->Create(GENIRESPONSE_ERROR, undef,
"external_interface for ". "$lanname: unknown ".
$edgeurn); "external_interface for ".
$edgeurn);
goto bad; goto bad;
} }
......
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