svn commit: r343996 - head/sys/netpfil/pf
Patrick Kelsey
pkelsey at FreeBSD.org
Mon Feb 11 05:39:39 UTC 2019
Author: pkelsey
Date: Mon Feb 11 05:39:38 2019
New Revision: 343996
URL: https://svnweb.freebsd.org/changeset/base/343996
Log:
Place pf_altq_get_nth_active() under the ALTQ ifdef
MFC after: 1 week
Modified:
head/sys/netpfil/pf/pf_ioctl.c
Modified: head/sys/netpfil/pf/pf_ioctl.c
==============================================================================
--- head/sys/netpfil/pf/pf_ioctl.c Mon Feb 11 05:17:31 2019 (r343995)
+++ head/sys/netpfil/pf/pf_ioctl.c Mon Feb 11 05:39:38 2019 (r343996)
@@ -1360,7 +1360,6 @@ pf_import_kaltq(struct pfioc_altq_v1 *pa, struct pf_al
return (0);
}
-#endif /* ALTQ */
static struct pf_altq *
pf_altq_get_nth_active(u_int32_t n)
@@ -1383,6 +1382,7 @@ pf_altq_get_nth_active(u_int32_t n)
return (NULL);
}
+#endif /* ALTQ */
static int
pfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td)
More information about the svn-src-head
mailing list