Fix qualify for TCP peer

(closes issue #14192)
Reported by: pabelanger
Patches: 
      asterisk-bug14192.diff.txt uploaded by jamesgolovich (license 176)
Tested by: jamesgolovich


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2009-01-17 01:56:36 +00:00
parent 6b32f4600d
commit e0b40036e1
3 changed files with 13 additions and 13 deletions

View File

@@ -114,7 +114,7 @@ struct ast_tls_config {
*/
struct ast_tcptls_session_args {
struct sockaddr_in local_address;
struct sockaddr_in old_local_address;
struct sockaddr_in old_address; /*!< copy of the local or remote address depending on if its a client or server session */
struct sockaddr_in remote_address;
char hostname[MAXHOSTNAMELEN]; /*!< only necessary for SSL clients so we can compare to common name */
struct ast_tls_config *tls_cfg; /*!< points to the SSL configuration if any */