diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-25 14:57:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-17 14:50:03 -0500 |
commit | 7315a6764675ca2a148554488504f5abf98ff7e6 (patch) | |
tree | e43592466f9e39596a5fbf3e26202229d55c75f1 /src/test | |
parent | 522e90d6610da3ca809c842b452c56ecab5d501b (diff) | |
download | tor-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