diff options
author | monty@mysql.com <> | 2005-02-15 17:12:13 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-15 17:12:13 +0200 |
commit | 38d1a42481e960eabd302ffce1b1312199416550 (patch) | |
tree | 15b9cad34a1d5d325aaaa43172f7410440a0e70e /vio | |
parent | 410e51c854a929a96f5e91236abe19526ddc4947 (diff) | |
parent | 44ceb84cdc86f65f9f43424ee1300bb8f162f24b (diff) | |
download | mariadb-git-38d1a42481e960eabd302ffce1b1312199416550.tar.gz |
Merge with 4.1
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 3064a01f0f8..43bd4e82013 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"); |