]> git.mxchange.org Git - hub.git/commitdiff
Renamed path 'dht' to 'dht_bootstrap'.
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Mar 2014 21:57:53 +0000 (22:57 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Mar 2014 21:57:53 +0000 (22:57 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/templates/xml/answer/dht/.htaccess [deleted file]
application/hub/templates/xml/answer/dht/dht_bootstrap_answer.xml [deleted file]
application/hub/templates/xml/answer/dht_bootstrap/.htaccess [new file with mode: 0644]
application/hub/templates/xml/answer/dht_bootstrap/dht_bootstrap_answer.xml [new file with mode: 0644]

diff --git a/application/hub/templates/xml/answer/dht/.htaccess b/application/hub/templates/xml/answer/dht/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/hub/templates/xml/answer/dht/dht_bootstrap_answer.xml b/application/hub/templates/xml/answer/dht/dht_bootstrap_answer.xml
deleted file mode 100644 (file)
index e4b40d0..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-An XML template for answering DHT bootstrap requests from other nodes. This
-template may be used to indicate that this node does not want to receive
-DHT bootstrap requests.
-
-@author                Roland Haeder <webmaster@ship-simu.org>
-@version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
-@license       GNU GPL 3.0 or any newer version
-@link          http://www.ship-simu.org
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>
-//-->
-<dht-bootstrap-answer>
-       <!--
-       The following data is from this node.
-       //-->
-       <my-data>
-               <!--
-               This node's external IP/hostname
-               //-->
-               <my-external-ip>{?my_external_ip?}</my-external-ip>
-               <!--
-               This node's internal IP/hostname
-               //-->
-               <my-internal-ip>{?my_internal_ip?}</my-internal-ip>
-               <!--
-               This node's TCP/UDP listen port
-               //-->
-               <my-listen-port>{?my_listen_port?}</my-listen-port>
-               <!--
-               This node's session id
-               //-->
-               <my-session-id>{?my_session_id?}</my-session-id>
-               <!--
-               This node's status
-               //-->
-               <my-status>{?my_status?}</my-status>
-       </my-data>
-       <!--
-       The following data is the other node's data. This data is being sent to
-       confirm that it has been received correctly.
-       //-->
-       <your-data>
-               <!--
-               Other node's external IP/hostname
-               //-->
-               <your-external-ip>{?your_external_ip?}</your-external-ip>
-               <!--
-               Other node's internal IP/hostname
-               //-->
-               <your-internal-ip>{?your_internal_ip?}</your-internal-ip>
-               <!--
-               Other node's session id
-               //-->
-               <your-session-id>{?your_session_id?}</your-session-id>
-       </your-data>
-       <!--
-       Status of this answer. This can be something like OKAY if all went fine or
-       any other error code.
-       //-->
-       <answer-status>{?answer_status?}</answer-status>
-       <!--
-       Initial DHT data, this will be other nodes that have the DHT active.
-       //-->
-       <dht-nodes-list>
-               <!--
-               The actual DHT data.
-               //-->
-               {?dht_nodes?}
-       </dht-nodes-list>
-</dht-bootstrap-answer>
diff --git a/application/hub/templates/xml/answer/dht_bootstrap/.htaccess b/application/hub/templates/xml/answer/dht_bootstrap/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/templates/xml/answer/dht_bootstrap/dht_bootstrap_answer.xml b/application/hub/templates/xml/answer/dht_bootstrap/dht_bootstrap_answer.xml
new file mode 100644 (file)
index 0000000..e4b40d0
--- /dev/null
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+An XML template for answering DHT bootstrap requests from other nodes. This
+template may be used to indicate that this node does not want to receive
+DHT bootstrap requests.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<dht-bootstrap-answer>
+       <!--
+       The following data is from this node.
+       //-->
+       <my-data>
+               <!--
+               This node's external IP/hostname
+               //-->
+               <my-external-ip>{?my_external_ip?}</my-external-ip>
+               <!--
+               This node's internal IP/hostname
+               //-->
+               <my-internal-ip>{?my_internal_ip?}</my-internal-ip>
+               <!--
+               This node's TCP/UDP listen port
+               //-->
+               <my-listen-port>{?my_listen_port?}</my-listen-port>
+               <!--
+               This node's session id
+               //-->
+               <my-session-id>{?my_session_id?}</my-session-id>
+               <!--
+               This node's status
+               //-->
+               <my-status>{?my_status?}</my-status>
+       </my-data>
+       <!--
+       The following data is the other node's data. This data is being sent to
+       confirm that it has been received correctly.
+       //-->
+       <your-data>
+               <!--
+               Other node's external IP/hostname
+               //-->
+               <your-external-ip>{?your_external_ip?}</your-external-ip>
+               <!--
+               Other node's internal IP/hostname
+               //-->
+               <your-internal-ip>{?your_internal_ip?}</your-internal-ip>
+               <!--
+               Other node's session id
+               //-->
+               <your-session-id>{?your_session_id?}</your-session-id>
+       </your-data>
+       <!--
+       Status of this answer. This can be something like OKAY if all went fine or
+       any other error code.
+       //-->
+       <answer-status>{?answer_status?}</answer-status>
+       <!--
+       Initial DHT data, this will be other nodes that have the DHT active.
+       //-->
+       <dht-nodes-list>
+               <!--
+               The actual DHT data.
+               //-->
+               {?dht_nodes?}
+       </dht-nodes-list>
+</dht-bootstrap-answer>