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 PR/52682: David Binderman: Fix wrong assignm...



details:   https://anonhg.NetBSD.org/src/rev/d7dca69594d0
branches:  trunk
changeset: 827514:d7dca69594d0
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 31 15:00:03 2017 +0000

description:
PR/52682: David Binderman: Fix wrong assignment (in the !__NetBSD__ code)

diffstat:

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

diffs (27 lines):

diff -r 524449fb68f1 -r d7dca69594d0 sys/dist/pf/net/pf.c
--- a/sys/dist/pf/net/pf.c      Tue Oct 31 14:55:45 2017 +0000
+++ b/sys/dist/pf/net/pf.c      Tue Oct 31 15:00:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf.c,v 1.76 2017/02/14 03:05:06 ozaki-r Exp $  */
+/*     $NetBSD: pf.c,v 1.77 2017/10/31 15:00:03 christos Exp $ */
 /*     $OpenBSD: pf.c,v 1.552.2.1 2007/11/27 16:37:57 henning Exp $ */
 
 /*
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pf.c,v 1.76 2017/02/14 03:05:06 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pf.c,v 1.77 2017/10/31 15:00:03 christos Exp $");
 
 #include "pflog.h"
 
@@ -1708,7 +1708,7 @@
        m->m_pkthdr.pf.tag = rtag;
 
        if (r != NULL && r->rtableid >= 0)
-               m->m_pkthdr.pf.rtableid = m->m_pkthdr.pf.rtableid;
+               m->m_pkthdr.pf.rtableid = r->rtableid;
 #endif /* !__NetBSD__ */
 
 #ifdef ALTQ



Home | Main Index | Thread Index | Old Index