mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 23:16:37 +02:00
handle incorrect address
This commit is contained in:
parent
956107c679
commit
7405675f7a
1 changed files with 5 additions and 0 deletions
|
@ -726,6 +726,11 @@ namespace util
|
|||
}
|
||||
destination = *addr;
|
||||
}
|
||||
else
|
||||
{
|
||||
SendReply ("<html>Unexpected address " + address + "</html>", 404);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
SendToDestination (destination, buf, len);
|
||||
|
|
Loading…
Add table
Reference in a new issue