comparison 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
comparison
equal deleted inserted replaced
13:db2c8e6fb284 21:d7cc5b484a2e
136 unsigned int chansize; /* the number of Channel*s allocated for channels */ 136 unsigned int chansize; /* the number of Channel*s allocated for channels */
137 const struct ChanType **chantypes; /* The valid channel types */ 137 const struct ChanType **chantypes; /* The valid channel types */
138 138
139 139
140 /* TCP forwarding - where manage listeners */ 140 /* TCP forwarding - where manage listeners */
141 #ifndef DISABLE_REMOTETCPFWD 141 #ifdef USING_LISTENERS
142 struct Listener ** listeners; 142 struct Listener ** listeners;
143 unsigned int listensize; 143 unsigned int listensize;
144 /* Whether to allow binding to privileged ports (<1024). This doesn't
145 * really belong here, but nowhere else fits nicely */
144 #endif 146 #endif
147 int allowprivport;
145 148
146 }; 149 };
147 150
148 struct serversession { 151 struct serversession {
149 152