diff options
author | 2020-07-10 13:26:36 +0000 | |
---|---|---|
committer | 2020-07-10 13:26:36 +0000 | |
commit | 0cae21bd7dc539ce7833e6c95a4e4259d9044374 (patch) | |
tree | 655429ae55a3e2d9c5289fdd7ad3dae7ad921d55 /sys/net/if_aggr.c | |
parent | Change users of IFQ_PURGE() to use the "new" API. (diff) | |
download | wireguard-openbsd-0cae21bd7dc539ce7833e6c95a4e4259d9044374.tar.xz wireguard-openbsd-0cae21bd7dc539ce7833e6c95a4e4259d9044374.zip |
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/net/if_aggr.c')
-rw-r--r-- | sys/net/if_aggr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_aggr.c b/sys/net/if_aggr.c index 5b45c3dcfe7..1707230cd96 100644 --- a/sys/net/if_aggr.c +++ b/sys/net/if_aggr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aggr.c,v 1.31 2020/06/17 06:45:22 dlg Exp $ */ +/* $OpenBSD: if_aggr.c,v 1.32 2020/07/10 13:26:41 patrick Exp $ */ /* * Copyright (c) 2019 The University of Queensland @@ -560,7 +560,7 @@ aggr_clone_create(struct if_clone *ifc, int unit) ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_SIMPLEX; ifp->if_xflags = IFXF_CLONED | IFXF_MPSAFE; ifp->if_link_state = LINK_STATE_DOWN; - IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); + ifq_set_maxlen(&ifp->if_snd, IFQ_MAXLEN); ether_fakeaddr(ifp); if_counters_alloc(ifp); |