From owner-svn-src-all@FreeBSD.ORG Sat Sep 1 23:33:50 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04828106566B; Sat, 1 Sep 2012 23:33:50 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E2D168FC0A; Sat, 1 Sep 2012 23:33:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q81NXnTH099698; Sat, 1 Sep 2012 23:33:49 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q81NXnas099696; Sat, 1 Sep 2012 23:33:49 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201209012333.q81NXnas099696@svn.freebsd.org> From: Eitan Adler Date: Sat, 1 Sep 2012 23:33:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239997 - head/sys/netinet/ipfw X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2012 23:33:50 -0000 Author: eadler Date: Sat Sep 1 23:33:49 2012 New Revision: 239997 URL: http://svn.freebsd.org/changeset/base/239997 Log: Mark the ipfw interface type as not being ether. This fixes an issue where uuidgen tried to obtain a ipfw device's mac address which was always zero. PR: 170460 Submitted by: wxs Reviewed by: bdrewery Reviewed by: delphij Approved by: cperciva MFC after: 1 week Modified: head/sys/netinet/ipfw/ip_fw_log.c Modified: head/sys/netinet/ipfw/ip_fw_log.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw_log.c Sat Sep 1 15:59:09 2012 (r239996) +++ head/sys/netinet/ipfw/ip_fw_log.c Sat Sep 1 23:33:49 2012 (r239997) @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include /* for IFT_ETHER */ +#include /* for IFT_PFLOG */ #include /* for BPF */ #include @@ -151,7 +151,7 @@ ipfw_log_clone_create(struct if_clone *i if (error) return (error); - ifp = if_alloc(IFT_ETHER); + ifp = if_alloc(IFT_PFLOG); if (ifp == NULL) { ifc_free_unit(ifc, unit); return (ENOSPC);