summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-06-01 21:29:54 +0000
committerzec <zec@FreeBSD.org>2009-06-01 21:29:54 +0000
commit904747c9f98f0e11c35daca161c7253a12c080f6 (patch)
treeade5598db4309eac29ffa636f4c9c6308ca384b5 /sys/contrib
parente7035c4cf492567e058158332850658be9cccdcb (diff)
downloadFreeBSD-src-904747c9f98f0e11c35daca161c7253a12c080f6.zip
FreeBSD-src-904747c9f98f0e11c35daca161c7253a12c080f6.tar.gz
V_loif is not an array but a pure pointer, so treat it as such.
Reviewed by: bz Approved by: julian (mentor)
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/pf/net/pf_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c
index e211c6a..cb4533b 100644
--- a/sys/contrib/pf/net/pf_ioctl.c
+++ b/sys/contrib/pf/net/pf_ioctl.c
@@ -3717,7 +3717,7 @@ pf_check6_in(void *arg, struct mbuf **m, struct ifnet *ifp, int dir,
* order to support scoped addresses. In order to support stateful
* filtering we have change this to lo0 as it is the case in IPv4.
*/
- chk = pf_test6(PF_IN, (*m)->m_flags & M_LOOP ? &V_loif[0] : ifp, m,
+ chk = pf_test6(PF_IN, (*m)->m_flags & M_LOOP ? V_loif : ifp, m,
NULL, inp);
if (chk && *m) {
m_freem(*m);
OpenPOWER on IntegriCloud