#include <common/uri.h>
#include <common/utils.h>
+#include <common/compat/endian.h>
+
#include "fd-limit.h"
#include "jul-thread.h"
#include "lttng-sessiond.h"
* can let the user define a custom one. However, localhost is ALWAYS the
* default listening address.
*/
-static const char *default_reg_uri = "tcp://localhost";
+static const char *default_reg_uri =
+ "tcp://" DEFAULT_NETWORK_VIEWER_BIND_ADDRESS;
/*
* Update JUL application using the given socket. This is done just after
ret = sock->ops->bind(sock);
if (ret < 0) {
- WARN("An other session daemon is using this JUL port. JUL support "
- "will be deactivated not interfering with the tracing.");
+ WARN("Another session daemon is using this JUL port. JUL support "
+ "will be deactivated to prevent interfering with the tracing.");
goto error;
}