[aur-dev] [PATCH] Store last login address as plain text
mark.weiman at markzz.com
Mon Mar 14 17:09:09 UTC 2016
On Mon, 2016-03-14 at 10:12 +0100, Marcel Korpel wrote:
> * Lukas Fleischer <lfleischer at archlinux.org> (Sun, 13 Mar 2016
> > - LastLoginIPAddress INTEGER UNSIGNED NOT NULL DEFAULT 0,
> > + LastLoginIPAddress VARCHAR(40) NULL DEFAULT NULL,
> VARCHAR(40) is too short, I think, see
> According to Linux header files, the maximum length of an IPv6
> is 45 characters.
I'm not 100% sure how this actually stores the address, but if it's
stored in its hex form, it can only be as large as 39 characters
(4*8+7) making 40 characters more than enough.
More information about the aur-dev