head	1.1;
access;
symbols
	REL9_0_0:1.1
	REL9_1_ALPHA1:1.1
	REL9_0_RC1:1.1
	REL9_0_BETA4:1.1
	REL9_0_STABLE:1.1.0.10
	REL9_0_BETA3:1.1
	REL9_0_BETA2:1.1
	REL9_0_BETA1:1.1
	REL9_0_ALPHA5_BRANCH:1.1.0.8
	REL9_0_ALPHA5:1.1
	REL9_0_ALPHA4:1.1
	REL9_0_ALPHA4_BRANCH:1.1.0.6
	REL8_5_ALPHA3:1.1
	REL8_5_ALPHA3_BRANCH:1.1.0.4
	REL8_5_ALPHA2:1.1
	REL8_5_ALPHA2_BRANCH:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2009.10.01.01.58.58;	author tgl;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Support "samehost" and "samenet" specifications in pg_hba.conf,
by enumerating the machine's IP interfaces to look for a match.

Stef Walter
@
text
@$PostgreSQL$

test_ifaddrs
============

This program prints the addresses and netmasks of all the IPv4 and IPv6
interfaces on the local machine.  It is useful for testing that this
functionality works on various platforms.  If "samehost" and "samenet"
in pg_hba.conf don't seem to work right, run this program to see what
is happening.

Usage:	test_ifaddrs
@
