summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-15 14:49:52 +0200
committermonty@mysql.com <>2005-02-15 14:49:52 +0200
commit44ceb84cdc86f65f9f43424ee1300bb8f162f24b (patch)
treed17979f01b48c5b27e4b6a6b13071213c395f3f3 /vio
parent9a042c81e78b8606afa938816a380ca7019df2db (diff)
parent788a2658a3d572152efdb65027b5b57b55b0cfed (diff)
downloadmariadb-git-44ceb84cdc86f65f9f43424ee1300bb8f162f24b.tar.gz
Merge with 4.0
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c12
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");