From owner-cvs-lib Thu Dec 5 16:12:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA14005 for cvs-lib-outgoing; Thu, 5 Dec 1996 16:12:36 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA13996; Thu, 5 Dec 1996 16:12:34 -0800 (PST) Date: Thu, 5 Dec 1996 16:12:34 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612060012.QAA13996@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/net getnetbynis.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 16:12:34 Modified: lib/libc/net getnetbynis.c Log: I asked Bill Paul why _getnetbynis() was only being called with 2 parameters, and he said: The 3rd agrument is new; looks like it was part of the upgrade to a new BIND with some IPv6 support. The third argument here should be AF_INET. In order for it to be anything else, I'd have to add new NIS functions to support IPv6 lookups. I don't even know what those look like yet. So there ya go, add AF_INET as the 3rd argument to the call. Submitted-by: wpaul Revision Changes Path 1.7 +3 -3 src/lib/libc/net/getnetbynis.c