diff OrthancServer/DicomInstanceToStore.h @ 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 904096e7367e
children 2abfdca9b915
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.h	Tue Aug 25 12:10:12 2015 +0200
+++ b/OrthancServer/DicomInstanceToStore.h	Tue Aug 25 13:05:22 2015 +0200
@@ -145,9 +145,9 @@
     SmartContainer<Json::Value>  json_;
 
     RequestOrigin origin_;
+    std::string remoteIp_;
     std::string dicomRemoteAet_;
     std::string dicomCalledAet_;
-    std::string httpRemoteIp_;
     std::string httpUsername_;
     ServerIndex::MetadataMap metadata_;
 
@@ -158,7 +158,8 @@
     {
     }
 
-    void SetDicomProtocolOrigin(const char* remoteAet,
+    void SetDicomProtocolOrigin(const char* remoteIp,
+                                const char* remoteAet,
                                 const char* calledAet);
 
     void SetRestOrigin(const RestApiCall& call);