summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-25 14:57:10 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-17 14:50:03 -0500
commit7315a6764675ca2a148554488504f5abf98ff7e6 (patch)
treee43592466f9e39596a5fbf3e26202229d55c75f1 /src/test
parent522e90d6610da3ca809c842b452c56ecab5d501b (diff)
downloadtor-7315a6764675ca2a148554488504f5abf98ff7e6.tar.gz
tor-7315a6764675ca2a148554488504f5abf98ff7e6.zip
Refactor port_cfg_t creation into a port_cfg_new() function
This function gives us a single place to set reasonable default flags for port_cfg_t entries, to avoid bugs like the one where we weren't setting ipv4_traffic_ok to 1 on SocksPorts initialized in an older way.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions