aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2015-07-27 20:44:56 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2015-07-27 20:44:56 +0000
commitefad51657bf63abda3bf02e1c925756177cab451 (patch)
tree4b814f8cf7f07115c7fa645105c465c13c0dcdac /src/transport/plugin_transport_tcp.c
parentf9f0986bd8dbaa4a22a2c6e34e98cbe5d7bb9dfe (diff)
downloadgnunet-efad51657bf63abda3bf02e1c925756177cab451.tar.gz
gnunet-efad51657bf63abda3bf02e1c925756177cab451.zip
Match struct IPv4/6TcpAddress with UDP versions
I noticed that struct IPv4TcpAddress had two extra bytes in HELLOs generated on my machine. This change removes those extra bytes.
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index b4bcde60f..330b24f61 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -154,7 +154,7 @@ struct IPv4TcpAddress
154 * Optional options and flags for this address, 154 * Optional options and flags for this address,
155 * see `enum TcpAddressOptions` 155 * see `enum TcpAddressOptions`
156 */ 156 */
157 uint32_t options; 157 uint32_t options GNUNET_PACKED;
158 158
159 /** 159 /**
160 * IPv4 address, in network byte order. 160 * IPv4 address, in network byte order.
@@ -177,7 +177,7 @@ struct IPv6TcpAddress
177 * Optional flags for this address 177 * Optional flags for this address
178 * see `enum TcpAddressOptions` 178 * see `enum TcpAddressOptions`
179 */ 179 */
180 uint32_t options; 180 uint32_t options GNUNET_PACKED;
181 181
182 /** 182 /**
183 * IPv6 address. 183 * IPv6 address.