summaryrefslogtreecommitdiffstats
path: root/usr.bin/ypmatch/ypmatch.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-03-25 23:26:54 +0000
committerwpaul <wpaul@FreeBSD.org>1995-03-25 23:26:54 +0000
commit1b63b57e4bd49802bffca218ad1fc3d7d168224c (patch)
tree0991abf0bcb840becc13f2800543bbc97574f67c /usr.bin/ypmatch/ypmatch.c
parent3936ee9f706f9106cedd53bc831ba0d8e8c223bc (diff)
downloadFreeBSD-src-1b63b57e4bd49802bffca218ad1fc3d7d168224c.zip
FreeBSD-src-1b63b57e4bd49802bffca218ad1fc3d7d168224c.tar.gz
Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
Diffstat (limited to 'usr.bin/ypmatch/ypmatch.c')
-rw-r--r--usr.bin/ypmatch/ypmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c
index 7370e94..3fe57d6 100644
--- a/usr.bin/ypmatch/ypmatch.c
+++ b/usr.bin/ypmatch/ypmatch.c
@@ -48,7 +48,7 @@ struct ypalias {
{ "passwd", "passwd.byname" },
{ "group", "group.byname" },
{ "networks", "networks.byaddr" },
- { "hosts", "hosts.byaddr" },
+ { "hosts", "hosts.byname" },
{ "protocols", "protocols.bynumber" },
{ "services", "services.byname" },
{ "aliases", "mail.aliases" },
OpenPOWER on IntegriCloud