Allow IPv4-format entries in pg_hba.conf to match IPv6 connections

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3c9bb8886df7d56aaeb619abc246462fa809d946
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-09-05T20:31:36Z
Releases: 7.4.1
Allow IPv4-format entries in pg_hba.conf to match IPv6 connections
that have IPv4-embedded-in-IPv6 addresses.  Per idea of Andreas Pflug.

Files

PathChange+/−
doc/src/sgml/client-auth.sgml modified +16 −11
src/backend/libpq/hba.c modified +23 −8
src/backend/libpq/ip.c modified +105 −24
src/backend/libpq/pg_hba.conf.sample modified +1 −2
src/include/libpq/ip.h modified +6 −1