summaryrefslogtreecommitdiff
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-22 10:47:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-22 10:47:16 +0000
commit18bfb4dd4812ab1e30bb4b2ecb6674ea2d368322 (patch)
treef2e518c007ef0dbcd68136f911a7c240b4f6d825 /common-session.c
parentae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 (diff)
downloaddropbear-18bfb4dd4812ab1e30bb4b2ecb6674ea2d368322.tar.gz
- Port restriction code back in
- Remove bad strerror() logging --HG-- extra : convert_revision : 8ad0c90d041d667876641822a5d870e2e73059c6
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c
index fce301a..71e9e68 100644
--- a/common-session.c
+++ b/common-session.c
@@ -108,6 +108,8 @@ void common_session_init(int sock, runopts *opts) {
ses.chantypes = NULL;
+ ses.allowprivport = 0;
+
TRACE(("leave session_init"));
}