diff session.h @ 21:d7cc5b484a2e

- Port restriction code back in - Remove bad strerror() logging
author Matt Johnston <matt@ucc.asn.au>
date Tue, 22 Jun 2004 10:47:16 +0000
parents 7f77962de998
children c1e5d9195402
line wrap: on
line diff
--- a/session.h	Thu Jun 03 18:08:34 2004 +0000
+++ b/session.h	Tue Jun 22 10:47:16 2004 +0000
@@ -138,10 +138,13 @@
 
 	
 	/* 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;
 
 };