diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-11-14 00:06:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-11-14 00:06:31 +0000 |
commit | 1913cb915ee3f91f18dfcefeb8202380ed4cfcbc (patch) | |
tree | bde729b0291e4af1621a9689e86b3ae14af627a0 /src/or/hibernate.c | |
parent | fa6fbbc150a0f8e750c979af3c0d2d1278b856dd (diff) | |
download | tor-1913cb915ee3f91f18dfcefeb8202380ed4cfcbc.tar.gz tor-1913cb915ee3f91f18dfcefeb8202380ed4cfcbc.zip |
r9308@totoro: nickm | 2006-11-13 18:41:23 -0500
Add support for (Free?)BSD's natd, which was an old way to let you
have your firewall automatically redirect traffic. (Original patch
from Zajcev Evgeny, updated for 0.1.2.x by tup.)
svn:r8946
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index be6761a309..2b4657d4a1 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -713,6 +713,7 @@ hibernate_begin(int new_state, time_t now) while ((conn = connection_get_by_type(CONN_TYPE_OR_LISTENER)) || (conn = connection_get_by_type(CONN_TYPE_AP_LISTENER)) || (conn = connection_get_by_type(CONN_TYPE_AP_TRANS_LISTENER)) || + (conn = connection_get_by_type(CONN_TYPE_AP_NATD_LISTENER)) || (conn = connection_get_by_type(CONN_TYPE_DIR_LISTENER))) { log_info(LD_NET,"Closing listener type %d", conn->type); connection_mark_for_close(conn); |