From 788a2658a3d572152efdb65027b5b57b55b0cfed Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Tue, 15 Feb 2005 14:42:13 +0200 Subject: Better bug fix for #5569: "Incorrect "Access Denied" error with SAME login DIFFERENT host" This fixes also the reverse lookup bug introduced by the previous patch --- vio/viosocket.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'vio') diff --git a/vio/viosocket.c b/vio/viosocket.c index 1b6f46c57cf..f45c9dd98c4 100644 --- a/vio/viosocket.c +++ b/vio/viosocket.c @@ -291,6 +291,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"); -- cgit v1.2.1