From owner-cvs-src@FreeBSD.ORG Tue Jan 27 21:55:15 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35B4B16A4CE; Tue, 27 Jan 2004 21:55:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46A1A43D58; Tue, 27 Jan 2004 21:55:14 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0S5tE0B040650; Tue, 27 Jan 2004 21:55:14 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0S5tDMc040649; Tue, 27 Jan 2004 21:55:13 -0800 (PST) (envelope-from tjr) Message-Id: <200401280555.i0S5tDMc040649@repoman.freebsd.org> From: "Tim J. Robbins" Date: Tue, 27 Jan 2004 21:55:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/smbfs/lib/smb nb_net.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 05:55:15 -0000 tjr 2004/01/27 21:55:13 PST FreeBSD src repository Modified files: contrib/smbfs/lib/smb nb_net.c Log: Merge from NetBSD rev. 1.2 (drochner): Do the address calculations inside the data delivered by SIOCGIFCONF correctly (this isn't a plain array!), and sort the checks a bit to avoid duplicates in the interface list. Revision Changes Path 1.2 +23 -13 src/contrib/smbfs/lib/smb/nb_net.c