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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bpe.c b/sys/net/if_bpe.c
index 13224499bb1..9ce5df4a430 100644
--- a/sys/net/if_bpe.c
+++ b/sys/net/if_bpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bpe.c,v 1.11 2020/06/24 22:03:43 cheloha Exp $ */
+/* $OpenBSD: if_bpe.c,v 1.12 2020/07/10 13:26:41 patrick Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
*
@@ -190,7 +190,7 @@ bpe_clone_create(struct if_clone *ifc, int unit)
ifp->if_start = bpe_start;
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST;
ifp->if_xflags = IFXF_CLONED;
- IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
+ ifq_set_maxlen(&ifp->if_snd, IFQ_MAXLEN);
ether_fakeaddr(ifp);
if_counters_alloc(ifp);