diff options
author | Frank Meier <frank.meier@ergon.ch> | 2010-06-05 00:29:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-06-05 00:31:36 +0200 |
commit | 8098d9417c649272b9d6d2ad76abbde7dfbfcad1 (patch) | |
tree | e1a81f1d49804a97d60c2dc78678f3a5c64925fd /lib/urldata.h | |
parent | 605207a3a60f515c77216922870e086dc8cc7f1b (diff) |
getinfo: added *_PRIMARY_PORT, *_LOCAL_IP and *_LOCAL_PORT
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 9db06405e..7763278d2 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -911,6 +911,12 @@ struct PureInfo { char ip[MAX_IPADR_LEN]; /* this buffer gets the numerical ip version stored at the connect *attempt* so it will get the last tried connect IP even on failures */ + long port; /* the remote port the last connection was established to */ + char localip[MAX_IPADR_LEN]; /* this buffer gets the numerical (local) ip + stored from where the last connection was + established */ + long localport; /* the local (src) port the last connection + originated from */ struct curl_certinfo certs; /* info about the certs, only populated in OpenSSL builds. Asked for with CURLOPT_CERTINFO / CURLINFO_CERTINFO */ |