rkimball commented on a change in pull request #7766:
URL: https://github.com/apache/tvm/pull/7766#discussion_r613429729



##########
File path: src/support/socket.h
##########
@@ -85,7 +85,7 @@ inline std::string GetHostName() {
  * \return result of operation.
  */
 inline bool ValidateIP(std::string ip) {
-  if (ip == "localhost") {
+  if (ip == "127.0.0.1") {

Review comment:
       This should have been left as it was with "localhost" since it is a 
special valid address.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to