summaryrefslogtreecommitdiffhomepage
path: root/session.h
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 /session.h
parentae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 (diff)
- Port restriction code back in
- Remove bad strerror() logging --HG-- extra : convert_revision : 8ad0c90d041d667876641822a5d870e2e73059c6
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/session.h b/session.h
index 0cb2eaa..64de282 100644
--- a/session.h
+++ b/session.h
@@ -138,10 +138,13 @@ struct sshsession {
/* TCP forwarding - where manage listeners */
-#ifndef DISABLE_REMOTETCPFWD
+#ifdef USING_LISTENERS
struct Listener ** listeners;
unsigned int listensize;
+ /* Whether to allow binding to privileged ports (<1024). This doesn't
+ * really belong here, but nowhere else fits nicely */
#endif
+ int allowprivport;
};