postgresql/src/tools/ifaddrs
Bruce Momjian 451c43974f Update copyright for 2026
Backpatch-through: 14
2026-01-01 13:24:10 -05:00
..
.gitignore Clean up test_ifaddrs a bit. 2017-03-07 12:06:07 -05:00
Makefile Update copyright for 2026 2026-01-01 13:24:10 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test_ifaddrs.c Use printf's %m format instead of strerror(errno) in more places 2024-03-12 10:02:54 +09:00

src/tools/ifaddrs/README

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