summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:23:35 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:23:35 +0000
commit75620858502cb86710140bab76d93d2cfc2277d4 (patch)
tree65876066a6cae94be9dee376d7d3b23a440b30ee /sys/net/if_pfsync.c
parent2ab8b96a9014558910b5e8b263ec8b87d01091ba (diff)
Change users of IFQ_PURGE() to use the "new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 8a486abd97c..1e3d10c36b5 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.272 2020/06/28 06:40:14 sashan Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.273 2020/07/10 13:23:34 patrick Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -418,7 +418,7 @@ pfsync_clone_destroy(struct ifnet *ifp)
void
pfsyncstart(struct ifnet *ifp)
{
- IFQ_PURGE(&ifp->if_snd);
+ ifq_purge(&ifp->if_snd);
}
void