Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dist/pf/net Add missing BPF_D_OUT. Reported by John D. B...



details:   https://anonhg.NetBSD.org/src/rev/6abe1948e002
branches:  trunk
changeset: 323712:6abe1948e002
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jun 27 03:31:44 2018 +0000

description:
Add missing BPF_D_OUT. Reported by John D. Baker.

diffstat:

 sys/dist/pf/net/if_pfsync.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e73b420edd23 -r 6abe1948e002 sys/dist/pf/net/if_pfsync.c
--- a/sys/dist/pf/net/if_pfsync.c       Wed Jun 27 01:25:49 2018 +0000
+++ b/sys/dist/pf/net/if_pfsync.c       Wed Jun 27 03:31:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_pfsync.c,v 1.16 2018/06/26 06:48:02 msaitoh Exp $   */
+/*     $NetBSD: if_pfsync.c,v 1.17 2018/06/27 03:31:44 msaitoh Exp $   */
 /*     $OpenBSD: if_pfsync.c,v 1.83 2007/06/26 14:44:12 mcbride Exp $  */
 
 /*
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.16 2018/06/26 06:48:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.17 2018/06/27 03:31:44 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1556,7 +1556,7 @@
        sc->sc_mbuf_tdb = NULL;
        sc->sc_statep_tdb.t = NULL;
 
-       bpf_mtap(ifp, m);
+       bpf_mtap(ifp, m, BPF_D_OUT);
 
        return pfsync_sendout_mbuf(sc, m);
 }



Home | Main Index | Thread Index | Old Index