]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/dht/class_NoDhtBootstrapAttemptedException.php
Removed usage of array elements that are never transmitted.
[hub.git] / application / hub / exceptions / dht / class_NoDhtBootstrapAttemptedException.php
index 32b294678f367dbdb411b01ad2f14da79cc900ff..0f20c6e334d644f367007534f6e74db0d0cd1817 100644 (file)
@@ -32,14 +32,11 @@ class NoDhtBootstrapAttemptedException extends FrameworkException {
         */
        public function __construct (array $messageArray, $code) {
                // Construct the message
-               $message = sprintf('[%s:%d] This node (%s) has not attempted to bootstrap its DHT, but got an answer from session-id=%s,ip=%s/%s,listen port=%s,status=%s.',
+               $message = sprintf('[%s:%d] This DHT (%s) has not attempted to bootstrap, but got an answer from session-id=%s,status=%s.',
                        $messageArray[0]->__toString(),
                        $this->getLine(),
                        $messageArray[1]->__toString(),
                        $messageArray[2][XmlDhtBootstrapAnswerTemplateEngine::DHT_BOOTSTRAP_DATA_SESSION_ID],
-                       $messageArray[2][XmlDhtBootstrapAnswerTemplateEngine::DHT_BOOTSTRAP_DATA_EXTERNAL_IP],
-                       $messageArray[2][XmlDhtBootstrapAnswerTemplateEngine::DHT_BOOTSTRAP_DATA_INTERNAL_IP],
-                       $messageArray[2][XmlDhtBootstrapAnswerTemplateEngine::DHT_BOOTSTRAP_DATA_LISTEN_PORT],
                        $messageArray[2][XmlDhtBootstrapAnswerTemplateEngine::DHT_BOOTSTRAP_DATA_NODE_STATUS]
                );