Mercurial > hg > orthanc
diff OrthancServer/OrthancFindRequestHandler.cpp @ 1573:3309878b3e16
more information about the origin of requests submitted to the DICOM handlers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 13:05:22 +0200 |
parents | f967bdf8534e |
children | bd1889029cbb |
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp Tue Aug 25 12:10:12 2015 +0200 +++ b/OrthancServer/OrthancFindRequestHandler.cpp Tue Aug 25 13:05:22 2015 +0200 @@ -216,7 +216,8 @@ bool OrthancFindRequestHandler::Handle(DicomFindAnswers& answers, const DicomMap& input, - const std::string& callingAETitle) + const std::string& remoteIp, + const std::string& remoteAet) { /** * Ensure that the calling modality is known to Orthanc. @@ -224,7 +225,7 @@ RemoteModalityParameters modality; - if (!Configuration::LookupDicomModalityUsingAETitle(modality, callingAETitle)) + if (!Configuration::LookupDicomModalityUsingAETitle(modality, remoteAet)) { throw OrthancException("Unknown modality"); }