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 <net/if.h> #include <net/if_clone.h> #include <net/vnet.h> -#include <net/if_types.h> /* for IFT_ETHER */ +#include <net/if_types.h> /* for IFT_PFLOG */ #include <net/bpf.h> /* for BPF */ #include <netinet/in.h> @@ -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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"