aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index e069c7c52..f7a803fd2 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4543,6 +4543,7 @@ parse_port_config(smartlist_t *out,
tor_addr_make_unspec(&cfg->addr); /* Server ports default to 0.0.0.0 */
cfg->no_listen = 1;
cfg->bind_ipv4_only = 1;
+ cfg->ipv4_traffic = 1;
smartlist_add(out, cfg);
}
@@ -4562,6 +4563,7 @@ parse_port_config(smartlist_t *out,
cfg->session_group = SESSION_GROUP_UNSET;
cfg->isolation_flags = ISO_DEFAULT;
cfg->no_advertise = 1;
+ cfg->ipv4_traffic = 1;
smartlist_add(out, cfg);
}
}
@@ -4585,6 +4587,7 @@ parse_port_config(smartlist_t *out,
tor_addr_parse(&cfg->addr, defaultaddr);
cfg->session_group = SESSION_GROUP_UNSET;
cfg->isolation_flags = ISO_DEFAULT;
+ cfg->ipv4_traffic = 1;
smartlist_add(out, cfg);
}
return 0;