From owner-svn-src-projects@FreeBSD.ORG Sun Oct 5 10:20:48 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6743AE50; Sun, 5 Oct 2014 10:20:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 531F91F0; Sun, 5 Oct 2014 10:20:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s95AKmpW002206; Sun, 5 Oct 2014 10:20:48 GMT (envelope-from melifaro@FreeBSD.org) Received: (from melifaro@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s95AKmQO002205; Sun, 5 Oct 2014 10:20:48 GMT (envelope-from melifaro@FreeBSD.org) Message-Id: <201410051020.s95AKmQO002205@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: melifaro set sender to melifaro@FreeBSD.org using -f From: "Alexander V. Chernikov" Date: Sun, 5 Oct 2014 10:20:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r272563 - projects/ipfw/sbin/ipfw X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 10:20:48 -0000 Author: melifaro Date: Sun Oct 5 10:20:47 2014 New Revision: 272563 URL: https://svnweb.freebsd.org/changeset/base/272563 Log: Fix tracked interface list retrieval. Modified: projects/ipfw/sbin/ipfw/ipfw2.c Modified: projects/ipfw/sbin/ipfw/ipfw2.c ============================================================================== --- projects/ipfw/sbin/ipfw/ipfw2.c Sun Oct 5 07:29:50 2014 (r272562) +++ projects/ipfw/sbin/ipfw/ipfw2.c Sun Oct 5 10:20:47 2014 (r272563) @@ -4860,7 +4860,7 @@ ipfw_get_tracked_ifaces(ipfw_obj_lheader memset(&req, 0, sizeof(req)); sz = sizeof(req); - if (do_get3(IP_FW_XIFLIST, &olh->opheader, &sz) != 0) { + if (do_get3(IP_FW_XIFLIST, &req.opheader, &sz) != 0) { if (errno != ENOMEM) return (errno); }