diff options
author | monty@mysql.com <> | 2005-02-15 14:49:52 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-15 14:49:52 +0200 |
commit | 44ceb84cdc86f65f9f43424ee1300bb8f162f24b (patch) | |
tree | d17979f01b48c5b27e4b6a6b13071213c395f3f3 /vio | |
parent | 9a042c81e78b8606afa938816a380ca7019df2db (diff) | |
parent | 788a2658a3d572152efdb65027b5b57b55b0cfed (diff) | |
download | mariadb-git-44ceb84cdc86f65f9f43424ee1300bb8f162f24b.tar.gz |
Merge with 4.0
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viosocket.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c index fee97daa943..77922594469 100644 --- a/vio/viosocket.c +++ b/vio/viosocket.c @@ -272,6 +272,18 @@ my_bool vio_peer_addr(Vio * vio, char *buf, uint16 *port) } +/* + Get in_addr for a TCP/IP connection + + SYNOPSIS + vio_in_addr() + vio vio handle + in put in_addr here + + NOTES + one must call vio_peer_addr() before calling this one +*/ + void vio_in_addr(Vio *vio, struct in_addr *in) { DBUG_ENTER("vio_in_addr"); |