summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ipfw/ip_fw_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipfw/ip_fw_log.c b/sys/netinet/ipfw/ip_fw_log.c
index 4007125..c0f8fcd 100644
--- a/sys/netinet/ipfw/ip_fw_log.c
+++ b/sys/netinet/ipfw/ip_fw_log.c
@@ -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 *ifc, char *name, size_t len,
if (error)
return (error);
- ifp = if_alloc(IFT_ETHER);
+ ifp = if_alloc(IFT_PFLOG);
if (ifp == NULL) {
ifc_free_unit(ifc, unit);
return (ENOSPC);
OpenPOWER on IntegriCloud