]> source.dussan.org Git - rspamd.git/commit
libutil: Fix parsing of address "IPv6:::1" 2915/head
authorMartin Mares <mj@ucw.cz>
Tue, 4 Jun 2019 16:35:50 +0000 (18:35 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 4 Jun 2019 16:35:50 +0000 (18:35 +0200)
commite68ea4ea38376ba0eedf36578c3499159e675c90
treea16ce229d246581218833bdbbc04c1bd5ecb77df
parent0cb382f10a1480e4c48e0912f9740a65494cb075
libutil: Fix parsing of address "IPv6:::1"

Dropping of leading colon must be performed after the "IPv6:" prefix
is stripped.

Also fixed a couple of wrong comments.
src/libutil/addr.c