diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2012-09-28 16:09:06 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2012-09-28 16:09:06 +0000 |
commit | e11cb881cc7de7a9a877370211ea931c7b75178d (patch) | |
tree | b3f37fe7f6f9d22c3ba3f917b756917f9ea034d1 | |
parent | 432e55a08a888bc0d07ed0a3cc995f1f800c3fff (diff) |
fix adress family for ipv6 bpf packet capture; ok yasuoka
-rw-r--r-- | sys/net/pipex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c index 9826a97cd6d..90b19e3ceac 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.34 2012/09/19 22:37:23 jsg Exp $ */ +/* $OpenBSD: pipex.c,v 1.35 2012/09/28 16:09:05 markus Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -1235,7 +1235,7 @@ pipex_ip6_input(struct mbuf *m0, struct pipex_session *session) #if NBPFILTER > 0 if (ifp->if_bpf) - bpf_mtap_af(ifp->if_bpf, AF_INET, m0, BPF_DIRECTION_IN); + bpf_mtap_af(ifp->if_bpf, AF_INET6, m0, BPF_DIRECTION_IN); #endif s = splnet(); |