Mercurial > dropbear
comparison session.h @ 572:8fd0ac8c8cab
Move remotehost into svr_ses structure since we can't look it up
once we've forked (the connection socket has been closed).
Fixes inetd mode.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 05 Sep 2009 11:40:00 +0000 |
parents | 005530560594 |
children | f9b5dc0cba61 |
comparison
equal
deleted
inserted
replaced
571:281ed8384eb4 | 572:8fd0ac8c8cab |
---|---|
209 struct exitinfo lastexit; | 209 struct exitinfo lastexit; |
210 | 210 |
211 /* The numeric address they connected from, used for logging */ | 211 /* The numeric address they connected from, used for logging */ |
212 char * addrstring; | 212 char * addrstring; |
213 | 213 |
214 /* The resolved remote address, used for lastlog etc */ | |
215 char *remotehost; | |
216 | |
214 #ifdef __uClinux__ | 217 #ifdef __uClinux__ |
215 pid_t server_pid; | 218 pid_t server_pid; |
216 #endif | 219 #endif |
217 | 220 |
218 }; | 221 }; |