summaryrefslogtreecommitdiff
path: root/sys/net/if_bpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_bpe.c')
-rw-r--r--sys/net/if_bpe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_bpe.c b/sys/net/if_bpe.c
index f5d4771273c..cee69c91016 100644
--- a/sys/net/if_bpe.c
+++ b/sys/net/if_bpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bpe.c,v 1.21 2023/12/22 23:01:50 mvs Exp $ */
+/* $OpenBSD: if_bpe.c,v 1.22 2023/12/23 10:52:54 bluhm Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
*
@@ -182,6 +182,7 @@ bpe_clone_create(struct if_clone *ifc, int unit)
ifp->if_xflags = IFXF_CLONED;
ether_fakeaddr(ifp);
+ if_counters_alloc(ifp);
if_attach(ifp);
ether_ifattach(ifp);