[Mimedefang] [Patch] relay_is_* not ipv6 friendly (IPv4 Compatible "patch")

- kd6lvw at yahoo.com
Tue Feb 2 20:49:19 EST 2010


Try this regex for detecting an IPv4-compatible IPv6 address:

 ... =~  qr/^::FFFF:(\d{1,3}(\.\d{1,3}){3})$/i   ...

That should be more precise than strchr(...,'.');  $1 should be the IPv4 address that was extracted.






More information about the MIMEDefang mailing list