From owner-cvs-usrsbin Wed Jan 21 02:57:03 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13373 for cvs-usrsbin-outgoing; Wed, 21 Jan 1998 02:57:03 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13314; Wed, 21 Jan 1998 02:56:45 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA09698; Wed, 21 Jan 1998 02:55:39 -0800 (PST) Date: Wed, 21 Jan 1998 02:55:39 -0800 (PST) Message-Id: <199801211055.CAA09698@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/portmap from_local.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/01/21 02:55:39 PST Modified files: usr.sbin/portmap from_local.c Log: Don't assume that a computer can have no more than 256 interfaces (mine doesn't). Instead, find local interface addresses using sysctl(). Revision Changes Path 1.6 +82 -49 src/usr.sbin/portmap/from_local.c