httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
Subject Re: r->connection->remote_addr->ipaddr_ptr and ipaddr_len
Date Fri, 03 Apr 2009 08:09:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dirk-Willem van Gulik wrote:
> In a late phase logging handler - I am doing:
> 	dptr = (uint8_t *) &(r->connection->remote_addr->ipaddr_ptr);
> 	len = r->connection->remote_addr->ipaddr_len;
...
> Much to my surprize - for an IPv4 address - the lenght is 16 (rather
..
> anyone any suggestion as to what is happening or where I am beeing
> stupid ? Note that the port numbers are perfectly fine.

Thanks Colm - turns out I was beeing stupid - and had not grasped the
finer details of my mixed IPv4/v6 environment.

Thanks,

Dw
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSdXELDGmPZbsFAuBAQIJOgP+NGTm2+ehmczll/vsekI6M59e8vRZyMBR
9gfC6imQUA84TT/26K59b/mOWNDeslBzURYVrgx98ESLFbiAjtRCrmM8X0idZ7sA
xCdTuYkjLJ2Xo9H/8XBZV750ze7JwX4vRMnMDpH53mJuJT6LMGFEkOqE8es3/r6Y
8LuolH4jbBU=
=MHuB
-----END PGP SIGNATURE-----

Mime
View raw message