summaryrefslogtreecommitdiff
path: root/src/nat/nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r--src/nat/nat.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h
index af418c7c2..02bae71e9 100644
--- a/src/nat/nat.h
+++ b/src/nat/nat.h
@@ -29,6 +29,7 @@
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30 30
31 31
32
32GNUNET_NETWORK_STRUCT_BEGIN 33GNUNET_NETWORK_STRUCT_BEGIN
33 34
34/** 35/**
@@ -111,10 +112,9 @@ struct GNUNET_NAT_RegisterMessage
111 112
112 /** 113 /**
113 * Number of bytes in the string that follow which 114 * Number of bytes in the string that follow which
114 * specify the hostname and port of a manually punched 115 * specifies a section name in the configuration.
115 * hole for this client.
116 */ 116 */
117 uint16_t hole_external_len GNUNET_PACKED; 117 uint16_t str_len GNUNET_PACKED;
118 118
119 /** 119 /**
120 * Number of addresses that this service is bound to that follow. 120 * Number of addresses that this service is bound to that follow.
@@ -126,8 +126,7 @@ struct GNUNET_NAT_RegisterMessage
126 /* Followed by @e num_addrs addresses of type 'struct 126 /* Followed by @e num_addrs addresses of type 'struct
127 sockaddr' */ 127 sockaddr' */
128 128
129 /* Followed by @e hole_external_len bytes giving a hostname 129 /* Followed by @e str_len section name to use for options */
130 and port */
131 130
132}; 131};
133 132