aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-03-28 17:18:30 -0400
committerNick Mathewson <nickm@torproject.org>2012-03-28 17:18:30 -0400
commit04a1696095f936e68b524ac3c4881bf404e450a5 (patch)
tree8533ff0dc01a744238b2c20e6a456ee7940ba719 /src/or/config.c
parent77bc1b803e0d58b23ff48c2359300ef812f10ee1 (diff)
parentbd4d8fc744548a234bc35132abd07dcc25c7d51f (diff)
downloadtor-04a1696095f936e68b524ac3c4881bf404e450a5.tar.gz
tor-04a1696095f936e68b524ac3c4881bf404e450a5.zip
Merge remote-tracking branch 'linus/bug5151'
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 05f53bdd2d..30ffbd71df 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5772,13 +5772,13 @@ parse_port_config(smartlist_t *out,
if (out && port) {
port_cfg_t *cfg = tor_malloc_zero(sizeof(port_cfg_t));
- cfg->type = listener_type;
- cfg->port = port;
tor_addr_copy(&cfg->addr, &addr);
- cfg->session_group = sessiongroup;
+ cfg->port = port;
+ cfg->type = listener_type;
cfg->isolation_flags = isolation;
+ cfg->session_group = sessiongroup;
+ cfg->no_advertise = no_advertise;
cfg->no_listen = no_listen;
- cfg->no_listen = no_advertise;
cfg->all_addrs = all_addrs;
cfg->ipv4_only = ipv4_only;
cfg->ipv6_only = ipv6_only;