Skip to content

Commit

Permalink
DHS protocol, set local callback port
Browse files Browse the repository at this point in the history
  • Loading branch information
danovaro committed Apr 2, 2024
1 parent 5f1ff9e commit 738923e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.8
1.11.9
3 changes: 2 additions & 1 deletion src/metkit/mars/DHSProtocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ class SimpleCallback : public BaseCallbackConnection {
public:

SimpleCallback() :
callback_(Resource<int>("$MARS_DHS_LOCALPORT", 0)),
callbackEndpoint_(computeEndpoint()) {
LOG_DEBUG_LIB(LibMetkit) << "Simple callback. host=" << callbackEndpoint_.host()
LOG_DEBUG_LIB(LibMetkit) << "Simple callback. local port=" << callback_.localPort() << " host=" << callbackEndpoint_.host()
<< " port=" << callbackEndpoint_.port() << std::endl;
}
explicit SimpleCallback(const Configuration&) : SimpleCallback() {}
Expand Down

0 comments on commit 738923e

Please sign in to comment.