From pull request #840 comment thread:
Reported by @aquerubin
Unfortunately this restores code that was/is IPv4 dependent in alert.c.
It would be better to leave srcip and dstip as is and write them as
strings (into the sql query string) instead of converting them to ints
which would never work for IPv6 addresses.