postgresql/src/tools/ifaddrs
Andres Freund 01368e5d9d Split all OBJS style lines in makefiles into one-line-per-entry style.
When maintaining or merging patches, one of the most common sources
for conflicts are the list of objects in makefiles. Especially when
the split across lines has been changed on both sides, which is
somewhat common due to attempting to stay below 80 columns, those
conflicts are unnecessarily laborious to resolve.

By splitting, and alphabetically sorting, OBJS style lines into one
object per line, conflicts should be less frequent, and easier to
resolve when they still occur.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029200901.vww4idgcxv74cwes@alap3.anarazel.de
2019-11-05 14:41:07 -08:00
..
.gitignore Clean up test_ifaddrs a bit. 2017-03-07 12:06:07 -05:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test_ifaddrs.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00

README

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