]> git.ipfire.org Git - thirdparty/util-linux.git/commit
utmpdump: make IPv6 addresses work
authorSami Kerola <kerolasa@iki.fi>
Thu, 29 Aug 2013 09:34:00 +0000 (10:34 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 29 Aug 2013 17:14:10 +0000 (18:14 +0100)
commitee508c153fe25142d3aaafb6b456a592e51d4ac5
treecd46608f417432556ca418fb4e601d85a400f199
parentcfa7fe890b09693ed503da7516977402cbbe13ed
utmpdump: make IPv6 addresses work

(unless bug[s]) This change is backwards compatibile.  Earlier binary to
text dumps can be converted back to binary, or otherway around.

The only thing that will not work are IPv6 addresses that possible
earlier conversion had broke.  Such conversions resulted with random IPv4
in place of IPv6 address in text format, and original information is gone
forever.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/utmpdump.c