mirror of https://github.com/aria2/aria2
Log host and port when unexpected or unknown UDP tracker reply is received
parent
d68741697a
commit
2aeb7137d0
|
@ -235,10 +235,12 @@ int UDPTrackerClient::receiveReply
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case UDPT_ACT_SCRAPE:
|
case UDPT_ACT_SCRAPE:
|
||||||
A2_LOG_INFO("unexpected scrape action reply");
|
A2_LOG_INFO(fmt("unexpected scrape action reply from %s:%u",
|
||||||
|
remoteAddr.c_str(), remotePort));
|
||||||
return -1;
|
return -1;
|
||||||
default:
|
default:
|
||||||
A2_LOG_INFO("unknown action reply");
|
A2_LOG_INFO(fmt("unknown action reply from %s:%u",
|
||||||
|
remoteAddr.c_str(), remotePort));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue