summaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 74aa64dede..1f4f099be7 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -7001,7 +7001,7 @@ parse_port_config(smartlist_t *out,
port = 0;
else
port = 1;
- } else if (!strcmp(addrport, "auto")) {
+ } else if (!strcasecmp(addrport, "auto")) {
port = CFG_AUTO_PORT;
int af = tor_addr_parse(&addr, defaultaddr);
tor_assert(af >= 0);