I can see in parser.h, hostname is recognized as "([[:alnum:].]+)". For ipv6 address support just add a char ":" "([[:alnum:].]+)" -> "([[:alnum:]:.]+)".
There is no need to distinguish between ipv6 and ipv4. Besides, awffull does not distinguish between an ipv4 address and a domain name.
I can see in parser.h, hostname is recognized as "([[:alnum:].]+)". For ipv6 address support just add a char ":" "([[:alnum:].]+)" -> "([[:alnum:]:.]+)".
There is no need to distinguish between ipv6 and ipv4. Besides, awffull does not distinguish between an ipv4 address and a domain name.