From owner-freebsd-bugs Sat Dec 9 11:28:21 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA08560 for bugs-outgoing; Sat, 9 Dec 1995 11:28:21 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA08549 Sat, 9 Dec 1995 11:28:18 -0800 (PST) Date: Sat, 9 Dec 1995 11:28:18 -0800 (PST) From: Bill Paul Message-Id: <199512091928.LAA08549@freefall.freebsd.org> To: daveho@infocom.com, wpaul, freebsd-bugs Subject: Re: bin/853 Sender: owner-bugs@FreeBSD.ORG Precedence: bulk Synopsis: NIS map services.byname not exported to clients correctly State-Changed-From-To: open-closed State-Changed-By: wpaul State-Changed-When: Sat Dec 9 11:25:19 PST 1995 State-Changed-Why: Fixed in latest version of /usr/src/gnu/usr.sbin/ypserv/Makefile.yp. Here is a quick patch for the benefit of the bug filer: 4c4 < # $Id: Makefile.yp,v 1.12 1995/10/26 18:00:35 wpaul Exp $ --- > # $Id: Makefile.yp,v 1.13 1995/12/09 19:25:00 wpaul Exp $ 296,298c296,297 < '$$1 !~ "#" { print $$1"\t"$$0; \ < for (n=3; n<=NF && $$n !~ "#"; n++) \ < print $$n"\t"$$0 \ --- > '$$1 !~ "#" { if (index($$2,"udp")) { printf("%s/udp",$$1) } \ > else { printf("%s/tcp",$$1) }; print "\t"$$0 \