Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 1995 11:28:18 -0800 (PST)
From:      Bill Paul <wpaul>
To:        daveho@infocom.com, wpaul, freebsd-bugs
Subject:   Re: bin/853
Message-ID:  <199512091928.LAA08549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512091928.LAA08549>