projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6cf744e
)
(re)added port to struct node_t
author
Ivo Timmermans
<ivo@lychnis.net>
Fri, 16 Nov 2001 15:56:44 +0000
(15:56 +0000)
committer
Ivo Timmermans
<ivo@lychnis.net>
Fri, 16 Nov 2001 15:56:44 +0000
(15:56 +0000)
src/node.h
patch
|
blob
|
history
diff --git
a/src/node.h
b/src/node.h
index
92a33b2
..
83305ce
100644
(file)
--- a/
src/node.h
+++ b/
src/node.h
@@
-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;