(re)added port to struct node_t
authorIvo Timmermans <ivo@lychnis.net>
Fri, 16 Nov 2001 15:56:44 +0000 (15:56 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Fri, 16 Nov 2001 15:56:44 +0000 (15:56 +0000)
src/node.h

index 92a33b2..83305ce 100644 (file)
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: node.h,v 1.1.2.8 2001/11/16 12:12:56 zarq Exp $
+    $Id: node.h,v 1.1.2.9 2001/11/16 15:56:44 zarq Exp $
 */
 
 #ifndef __TINC_NODE_H__
 */
 
 #ifndef __TINC_NODE_H__
@@ -41,6 +41,7 @@ typedef struct node_t {
   long int options;                /* options turned on for this node */
 
   struct addrinfo *address;        /* his real (internet) ip to send UDP packets to */
   long int options;                /* options turned on for this node */
 
   struct addrinfo *address;        /* his real (internet) ip to send UDP packets to */
+  char *port;                      /* string representation of the port number */
   char *hostname;                  /* the hostname of its real ip */
 
   struct node_status_t status;
   char *hostname;                  /* the hostname of its real ip */
 
   struct node_status_t status;