handle incorrect address

This commit is contained in:
orignal 2014-09-16 21:35:39 -04:00
parent 956107c679
commit 7405675f7a

View file

@ -726,6 +726,11 @@ namespace util
} }
destination = *addr; destination = *addr;
} }
else
{
SendReply ("<html>Unexpected address " + address + "</html>", 404);
return;
}
} }
SendToDestination (destination, buf, len); SendToDestination (destination, buf, len);